Forum Discussion

khumprp's avatar
14 years ago

Help Needed Setting Up Sctipt

Hello All -

I'm a former performance tester that used to use the Mercury / HP LoadRunner suite. I've since left my job and am now taking a look at LoadUI and SoapUI. I'm having some "simple" problems, and I was hoping that someone here could help me understand how to complete a basic script.

Here's the scenario:

Virtual User Actions -
- Login (get session id)
- ping server every 10 sec
- run transaction A every 30 sec
- run transaction B every 15 min
- repeat for 1 hour
- logout

Now, I have a SoapUI script that has action calls, but I do not have a looping structure, and I really don't want to paste these transactions in for the course of an hour! I'm looking at Groovy Script, which I think will work, unless someone has a better suggestion.

So, once the script is done, I believe I can just put it into LoadUI and set it up with a generator. My two problems are -
1 . How do I loop the test case?
2 . Is this the best way to do this?

The reason I ask if this is the best way is because I'd much rather just have WSDL calls in LoadUI for the specific transactions, but without a session ID, they will be failed. And, each VU needs to have a unique ID, so I'm not sure how to corrolate it. That's why I 'think' doing the script is the best way.

Thoughts / help would be greatly appreciated!
Pat
No RepliesBe the first to reply