Forum Discussion
For this you would need to use a third party http library for Java or Groovy (HTTPBuilder being one alternative). For support on using a third party library, please refer to that library's support options.
Please note that soapUI currently does not support the Grape dependency loader mechanism. Any external library (and its dependencies) will have to be manually placed in the bin\ext directory of your soapUI installation.
Regards,
Dain
SmartBear Sweden
as this is an old post, is this still the case or is there now a means of doing this without using 3rd party libraries?
- nmrao9 years agoChampion Level 3You want to put your use case? when there is readily available steps available, why do you need to use groovy to do this?
- LoundesM9 years agoContributor
I'm using ServiceV and creating virts (then using VirtServer)
Suppose we have a service (api or soap) that takes a request then in formulating the response invokes another service for data to include within its response
in creating a virt to simulate that behavior we can create some datasets to mimic the secondary request response data which we would then have to maintain to ensure that data's relevance as the actual response data varies massively
or we could send an actual request to that secondary service then use the response data in our virts response thereby removing the dependency on that data maintenance
being able to send requests onto other services from virts would be a useful feature in my opinion, as there doesn't seem to be a direct way of doing this the next logical step would be to do this via groovy
regards
Mike
Related Content
- 2 years ago
Recent Discussions
- 2 days ago