51Testing软件测试论坛

标题: 运行场景sava param 参数无效。错误代码9005 [打印本页]

作者: OnlyCare    时间: 2015-9-25 12:50
标题: 运行场景sava param 参数无效。错误代码9005
代码如下
lrs_create_socket("socket4", "TCP", "RemoteHost=118.192.89.9:18701",  LrsLastArg);
       


    lrs_send("socket4", "buf20", LrsLastArg);

    lrs_receive("socket4", "buf21", LrsLastArg);

    lrs_save_param( "socket4", LRS_LAST_RECEIVED, "NickName", 52, 32 );

    lrs_disable_socket("socket4", DISABLE_SEND_RECV);

    lrs_close_socket("socket4");

    lrs_create_socket("socket7", "TCP", "RemoteHost=118.192.89.9:18901",  LrsLastArg);
   
   
    lrs_send("socket7", "buf28", LrsLastArg);
    //lrs_save_param( "socket7", LRS_LAST_RECEIVED, "Nick_name", 52, 32 );
    lrs_receive("socket7", "buf29", LrsLastArg);

    lrs_send("socket7", "buf30", LrsLastArg);

    lrs_receive("socket7", "buf31", LrsLastArg);

    lrs_receive("socket7", "buf33", LrsLastArg);

    lrs_disable_socket("socket7", DISABLE_SEND_RECV);

    lrs_close_socket("socket7");





欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2