Ask a Question

Where is the API?

SOLVED
Etks
Occasional Contributor

Where is the API?

I'm scripting a lot in my LoadUI and SoapUI tests and often have to rely on the mysterious testRunner, context and loadTestRunner variables. I don't want to keep plugging along via trial and error.

 

Where is the API? Where can I find a complete list of methods for the ReadyAPI-specific variables and a description of what they do?

2 REPLIES 2
thePantz
Contributor

Hi,

 

SmartBear provides JavaDocs here

Unfortuallly the descriptions are lacking in many places.

 

There appears to be multiple objects that point to these variables. Which one is used is contextual to which type of request you use.

 

For example,

TestRunner is an interface and there are actually several objects it could be depending on the context you are using it in. e.g. SecurityTestRunner, WsdlTestCaseRunner

 

There is also some useful samples of common usages of scripting here

 

 

Hopefully that helps

 

Etks
Occasional Contributor

Thanks, this is what I was looking for.

cancel
Showing results for 
Search instead for 
Did you mean: