cancel
Showing results for 
Search instead for 
Did you mean: 

How to get teststep's all of request data?

Highlighted
New Contributor

How to get teststep's all of request data?

Hello,

 

I'm newbie of Soapui plugin development.

 

I tried to get teststep's all of request data (include url, query, header, body data..)

 

I can get those data in Soapui groovy script easily before :

def myRequestStep = testRunner.testCase.getTestStepByName('Set Subscription');
byte[] a = myRequestStep.testRequest.response.getRawRequestData();
String data = new String(a, "UTF-8"); 

 

But I can't get those data in Soapui plugin java project.

Could you help me to get teststep's all of request data in plugin java project.

or share sample code?

 

Thank you in advance.

Building with the Collaborator API

Help Documenation
The Collaborator API is a JSON-RPC API that lets you integrate with Collaborator 9.0 and above. For more information about how the API works, check out the API description here:


Sample Plugins
For an example of an add-in that uses the API, take a look at the Microsoft Word Add-in for Collaborator:


We list all the great plugins our network has already built on this page on the SmartBear website.