Contributions
Fork off Groovy threads in Load test.
Hi all! I will start off to give a litte description of what I want to achieve: Im using SoapUI to simulate load testing. I can use for example X nr of threads to initiate a login requests towards our server. Im able to do this in SoapUI In our real application the client(which Im trying to simulate) starts to POLL the server for a limited period of time after the intial Login Request, obviously generating tons of load against the server. Im simply adding a Groovy step, using the "Poll Request". However this blocks the thread that initiated the Login request, but I actually want that thread to move on to a new Login request, while the polling thread keeps hammering the server for some time. I was not able to fork off a thread in groovy, without joinin it against the main thread. Is there any way to do this? So say I use 10 thread to fire a Login Request. Then for each reach I want to spawn new thread hammering the Poll Request, while initial thread immedieatly moves on the generate a new Login Request. Practically speaking, the number of threads that generates the POLL traffic will increase over time, and can be more than the 10 threads generating the LOGIN requests. I hope my desciption makes sense to you. Best Regards Bartlet699Views0likes0Comments- 12 years agoPlace ReadyAPI QuestionsReadyAPI Questions695Views0likes0Comments
Fork off Groovy threads in Load test.
Hi all! I will start off to give a litte description of what I want to achieve: Im using SoapUI to simulate load testing. I can use for example X nr of threads to initiate a login requests towards our server. Im able to do this in SoapUI In our real application the client(which Im trying to simulate) starts to POLL the server for a limited period of time after the intial Login Request, obviously generating tons of load against the server. Im simply adding a Groovy step, using the "Poll Request". However this blocks the thread that initiated the Login request, but I actually want that thread to move on to a new Login request, while the polling thread keeps hammering the server for some time. I was not able to fork off a thread in groovy, without joinin it against the main thread. Is there any way to do this? So say I use 10 thread to fire a Login Request. Then for each reach I want to spawn new thread hammering the Poll Request, while initial thread immedieatly moves on the generate a new Login Request. Practically speaking, the number of threads that generates the POLL traffic will increase over time, and can be more than the 10 threads generating the LOGIN requests. I hope my desciption makes sense to you. Best Regards Bartlet12 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes3CommentsMockService as War accessing Project.Propertiies
Hi all, Im using soapUI 4.5 to create a mockservice, which I deploy as a WAR. I have defined a custom property myProperty in the Custom Properties tab for the project. I am then able to define an endpoint in one of my Requests http://myProperty that defines the endpoint. And when I run the mockservice in SoapUI evertything works great. (The mockService uses groovy to get the Request and submit an asynchrounous callback to my endpoint) However when I deploy it as a war to tomcat, I guess I need to define this property somewhere, but I really dont understand how to do this. Should I edit my JAVA_OPT to include some property, similiarly as desribed for using the commandline mockservicerunner.bat An example or any idea directing me would be greatly appreciated Thanks! Bartlet12 years agoPlace ReadyAPI QuestionsReadyAPI Questions840Views0likes0Comments