unique scenarios how to test load testing?

My web application having program name as unique field. Same program name should not be used by multiple numbers. While doing load testing I will record with program name as Program1 and generated the web test.

When I am calling this web test in my load test with 10 users all 10 users will try to create the program name as program 1. at this time validation message will come that program name entered is already exit in database. Pls choose another name.

Like this unique scenarios how to test load testing Pls let me know how to perform load testing in this case.

Thanks,

Shankar




Answer this question

unique scenarios how to test load testing?

  • KevinMacDonald

    Your best way to do this is probably with a request plugin. A request plugin allows you to call your own code right before a request. In the request for the one that needs the unique name, you could generate the unique name and then set the unique name to the parameter field. Checkout this help link for creating a request plugin: http://msdn2.microsoft.com/en-us/library/ms182554.aspx

  • unique scenarios how to test load testing?