并发2个用户添加好友时,每次只1个用户PASS,1个FAILED.迭代时,第2个用户,也失败。
并发2个用户“添加好友”时,每次只1个用户PASS,1个FAILED.迭代时,第2个用户,也失败。详细参加如下:迭代错误提示:
Virtual User Script started
Starting action vuser_init.
vuser_init.c(12): lrs_startup(257)
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(21): lrs_create_socket(socket0, UDP, ...)
Action.c(23): lrs_send(socket0, buf0)
Action.c(25): lrs_receive(socket0, buf1)
Action.c(27): lrs_create_socket(socket1, UDP, ...)
Action.c(29): lrs_send(socket1, buf2)
Action.c(31): lrs_send(socket0, buf3)
Action.c(33): lrs_receive(socket0, buf4)
Action.c(35): lrs_send(socket0, buf5)
Action.c(37): lrs_receive(socket0, buf6)
Action.c(37): Mismatch (expected 140 bytes, 194 bytes actually received)
Action.c(38): lrs_save_searched_string(socket0, get_last_received_buffer, Lb_c, LB/BIN=lb_c\x00, null, 1, 0, 37)
Action.c(39): lrs_save_searched_string(socket0, get_last_received_buffer, Lb_g, LB/BIN=lb_g, RB/BIN=lb_c, 1, 0, -1)
Action.c(40): lrs_save_searched_string(socket0, get_last_received_buffer, Lb_ud, LB/BIN=lb_ud, RB/BIN=lb_g, 1, 0, -1)
Action.c(42): lrs_send(socket0, buf7)
Action.c(44): lrs_create_socket(socket2, TCP, ...)
Action.c(46): lrs_receive(socket2, buf8)
Action.c(48): lrs_send(socket2, buf9)
Action.c(50): lrs_receive(socket2, buf10)
Action.c(52): lrs_send(socket0, buf11)
Action.c(54): lrs_receive(socket0, buf12)
Ending action Action.
Ending iteration 1.
Starting iteration 2.
Starting action Action.
Action.c(21): lrs_create_socket(socket0, UDP, ...)
Action.c(23): lrs_send(socket0, buf0)
Action.c(25): lrs_receive(socket0, buf1)
Action.c(27): lrs_create_socket(socket1, UDP, ...)
Action.c(27): Error : socket1 - Invalid argument. Error code : 10022.
Abort was called from an action.
Ending Vuser...
Starting action vuser_end.
vuser_end.c(12): lrs_cleanup()
Ending action vuser_end.
Vuser Terminated.
并发错误提示:
检查实际录入结果发现,添加用户名显示,与用户信息显示不一致。如添加用户“300156”,确显示用户“300155”个人信息。
小女子,没辙了,高手们,帮帮们。。。谢谢哈~
[ 本帖最后由 Elaine126 于 2009-3-10 11:15 编辑 ] :L 怎么没人理哈~
提点提点呵~ 此问题已解决。
把create socket放在init就ok~ 是不是 在 action的话close掉也可以呢?
页:
[1]