Is it possible to connect VMs from readyAPI?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2019
01:38 PM
12-12-2019
01:38 PM
Is it possible to connect VMs from readyAPI?
Hi Team. I got a usecase that I want to test, I'm not sure that is achievable in ReadyAPI. Can anyone help on this?
My Usecase:
- Rest call to execute some operation
- As a result of above call, a json string will be logged inside the VM server as a log. I want to grep that log and validate. Is it possible to connect and grep the logs from VMs through groovy or readyAPI?
Any help is appreciated.
Solved! Go to Solution.
Labels:
- Labels:
-
Automation Environments
-
REST
-
Scripting
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2019
08:22 PM
12-12-2019
08:22 PM
Not offering any solution.
Just trying to understand the issue. Why would some one depend on the log? Isn't it enough to have right set of assertions?
Regards,
Rao.
Just trying to understand the issue. Why would some one depend on the log? Isn't it enough to have right set of assertions?
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2019
01:53 AM
12-25-2019
01:53 AM
Hi @arunbharath,
You can send the logs in the response for the request on your server side, then you will get them in the response in ReadyAPI and, after that, you can work with them. The second way - if your logs are placed in the shared folder, you can get access to these files via the Groovy script, please find different examples of how to work with the files here: https://mrhaki.blogspot.com/2009/08/groovy-goodness-working-with-files.html
Kirill Zakharov
Customer Care Team
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
