发明名称 |
METHODS AND SYSTEMS FOR SCALABLE SESSION EMULATION |
摘要 |
At least some of the illustrative embodiments are methods including: executing a test program on a computer system coupled to a server, the test program emulating virtual users by instantiating a first user instance by calling a first reentrant function, the first user instance exiting the first reentrant function upon encountering a blocking statement in the first reentrant function; instantiating a second user instance by calling the first reentrant function, the second user instance exiting the first reentrant function upon encountering a blocking statement in the first callable function; reentering the first user instance by again calling the first reentrant function, the first reentrant function resuming execution within the reentrant function after the first blocking statement; and reentering the second user instance by calling the first reentrant function, the first reentrant function resuming execution within the reentrant function after the second blocking statement. |
申请公布号 |
US2015039285(A1) |
申请公布日期 |
2015.02.05 |
申请号 |
US201313955958 |
申请日期 |
2013.07.31 |
申请人 |
QIAN Jin J. |
发明人 |
QIAN Jin J. |
分类号 |
G06F17/50 |
主分类号 |
G06F17/50 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method of emulating a plurality of virtual users interacting with a server, the method comprising:
executing a test program on a computer system, the computer system communicatively coupled to the server, the test program emulating the plurality of virtual users by
instantiating a first virtual user instance by calling a first reentrant function, the first virtual user instance exiting the first reentrant function upon encountering a first blocking statement defined in the first reentrant function; and theninstantiating a second virtual user instance by calling the first reentrant function, the second virtual user instance exiting the first reentrant function upon encountering a second blocking statement defined in the first callable function;reentering the first virtual user instance by again calling the first reentrant function, the first reentrant function resuming execution at a point in the reentrant function after the first blocking statement; andreentering the second virtual user instance by calling the first reentrant function, the first reentrant function resuming execution at a point in the reentrant function after the second blocking statement. |
地址 |
Austin TX US |