Forum Discussion

QAAutomation's avatar
QAAutomation
New Contributor
13 years ago

Creating script without Test Suite and thru Groovy Scripting

Hi,

I am a newbie to soapui pro. In my app I have an incoming requests that comes in and then chain of incoming/outbound requests happens. Obviously for outbound, I create mock services in my soapui. In all of this I capture values for the requests thayt comes to my mock and customize my mocked responses. I don't want to use test suite approach and do my automation only thru groovy scripting, which is another newbie zone for me. For now I am looking for code snippet that captures value from an incoming request in my mock and puts it in global variable. Then the same global variable is read into a request that I send to my app.

I hope I make sense. I am avoiding the whole test suite approach and thru groovy scripting have more control in logical flow. May be later will go that path. Also is there any documentation to go thru the soapui object model.

Thanks!
No RepliesBe the first to reply