How to use a jar file in soapui
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2021
10:15 AM
11-12-2021
10:15 AM
How to use a jar file in soapui
Hi guys,
I have just a jar file which needs two params: (1) a token and (2) a file name. The program invokes a REST service.
The program works well with command line (see attached image).
How can I launch the same jar in soapui and pass the two input parameters into two variables in SOAPUI ?
How can I show the service response in SOAPUI ?
I'm sorry but this referred suggestion doesn't work--> https://community.smartbear.com/t5/SoapUI-Open-Source-Questions/how-to-invoke-java-class-from-soap-U...
Thanks a lot!!!
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2021
08:32 PM
11-17-2021
08:32 PM
1. Can you not use the REST Request test step to invoke rest service?
2. If you want to use the command, then you try the below link which can invoke a command from groovy
https://stackoverflow.com/questions/34023086/how-to-invoke-cmd-commands-in-from-a-java-program-in-wi...
NOTE: mostly java code works in groovy too.
Regards,
Rao.
2. If you want to use the command, then you try the below link which can invoke a command from groovy
https://stackoverflow.com/questions/34023086/how-to-invoke-cmd-commands-in-from-a-java-program-in-wi...
NOTE: mostly java code works in groovy too.
Regards,
Rao.
