Forum Discussion

fderunes's avatar
fderunes
Occasional Contributor
12 years ago

LoadTest step log.info

Hi,

My tests have valuable debug information output using log.info
When running a loadTest this information is not output anywhere.

Could you provide me a way to get this lo info to display
Also I am using loadtestrunner so a solution with it would be the best for me.

Thanks

6 Replies

  • Hi,

    You can also look at File -> Preferences -> UI Settings, and check Do not disable groovy log. You should be able to see log.info results in script log tab in SoapUI Pro.



    Regards,
    Marcus
    SmartBear Support
  • fderunes's avatar
    fderunes
    Occasional Contributor
    Within the UI is not helping actually.
    I am running the tests using loadtestrunner, and I get some 500 errors, sometime.
    So the issue I am trying to repro is random. Hard to reproduce other than using concurrent test runs for a long period.
    Being able to enable log.info during loadtest would be very useful.
    Anyway to enable it?
  • Hi,

    So the issue is only occurring when you are using loadtestrunner.bat\.sh? What kind of errors are you seeing? The logs are turned off by default and since you can run a load test within SoapUI Pro UI you should be able to reproduce the problem within the UI.



    Regards,
    Marcus
    SmartBear Support
  • Hi,

    I see the log.info I am doing from a Groovy test step printed to the console when I run loadtestrunner. If you have the logging in a Groovy test script you could redirect with > to a output file i.e


    C:\Program Files\SmartBear\SoapUI-Pro-5.0.0\bin>loadtestrunner "C:\SoapUI\SOAPUI\Projects\MockServiceTesting-soapui-project.xml" > C:\loadtesttemp.txt.


    I'm not sure where you are using log.info in which you can not see the results, but it is present for me in the .log files in the <SoapUI Pro install>\bin directory as well. I do have File -> Preferences -> UI Settings, check Do not disable groovy log checked.



    Regards,
    Marcus
    SmartBear Support