Forum Discussion
The best thing would be to use commandline method (using %READYAPI_HOME%\bin\testrunner.bat )than executing them from UI.
How differently I can do that from my initial question. There I am running as testrunner.bat only. Problem is I cant find if the test is executing and not able to see the results too
- Nastya_Khovrina8 years agoSmartBear Alumni (Retired)
Senthil,
You can get the process output with the following command:
def project1 = ["C:/Program Files/SmartBear/ReadyAPI-2.0.0/bin/testrunner.bat", "-sSuite1", "-EDefault environment", "C:/gitRepo/service1"].execute()
log.info(project1.text)
- Senthil0078 years agoOccasional Contributor
Hello Anastasia,
I already have that log.info(project1.text) step.
When I execute the project the log.info doesn't wait for the test to complete, it immediately writes the message as
"Mon Oct 30 09:18:51 MDT 2017:INFO:"
No message is written
Thanks,
Senthil
- nmrao8 years agoChampion Level 3Yes, it is different. You are running the tests from UI while I was suggesting to execute them from command line (no soapui tool is used).
Run each command on a command-line or put them together in a single bat file and run them with fork.- Senthil0078 years agoOccasional Contributor
Can u please share me a sample. I tried to run my project which has multiple Composite Ready API project.
The command line gets executed in seconds, and I dont see it actually executing any project.
- nmrao8 years agoChampion Level 3How did you execute from command-prompt? I mean what command have you used? You may want to check the command line options help and use appropriate options to see get the results and reports.
By the way, have you checked the log files to see what is going on?
Related Content
- 10 years ago
- 8 months ago
Recent Discussions
- 19 hours ago
- 17 days ago