Patent ID: 8306805

Claim:
A scenario generation method generating a scenario given to a plurality of virtual web clients each of which applies access load by request messages to a web server device of a test target, said method comprising: storing first provisional scenario, the first provisional scenario being data that defines request messages and transmission order of the request messages, at least one of the request messages including request parameters that is passed to the web server device by one of a get method and a post method; storing response messages that are received from the web server device as responses to the request messages of the first provisional scenario; registering second provisional scenario, each of the request messages included in the second provisional scenario being the same as that of the first provisional scenario; comparing the request parameters of a request message of the request messages in the first provisional scenario to the request parameters of a request message of the request messages in the second provisional scenario at the same order in each of the request massages in the first provisional scenario and the request massages in the second provisional scenario; extracting, when the request parameter in the first provisional scenario is different from the request parameter in the second provisional scenario, response messages acquired before acquiring the request message including the request parameter in the first provisional scenario; identifying from the extracted response messages a response message having a value associated with the request parameter of the first provisional scenario; determining, when the request parameter in the first provisional scenario is different from the request parameter in the second provisional scenario, that the request message of first provisional scenario including the request parameter is a rewriting target request message; and associating, when the request parameter in the first provisional scenario is different from the request parameter in the second provisional scenario, the rewriting target request message with the request message associated with the request parameter found in page data of the identified response message; and outputting the scenario to rewrite a request parameter in the rewriting target request message based on the request parameter of the identified response message when transmitting the rewriting target request message.