Forum Discussion

georgeW's avatar
georgeW
New Contributor
8 months ago

How can i save or export the transaction log as file per test step with groovy script automaticly?

How can i save or export the transaction log as file per test step with groovy script automaticly?

4 Replies

    • georgeW's avatar
      georgeW
      New Contributor

      Hi Rao, thank you for your answer. I do not use the database and i do not see in the link no code to read the los by script step.

       

      I want export the log by a script/code like i get the script or error log.

      I can export the other log panels by code library in the script:

      def scriptLogArea = com.eviware.soapui.SoapUI.logMonitor.getLogArea( "Script Log" )

       

      Than  i read out the area. Is there a similar library call for Transaction Log/Panel?

      In the www i can not found a good library documentation for the SoapUi/ReadyAPI

    • TNeuschwanger's avatar
      TNeuschwanger
      Champion Level 2

      Hello georgeW ,

       

      If i need output log information, i run my testsuite/testcase from the command line and redirect the logging to a file.  You can look at the ReadyAPI documentation of command line parameters for how to do that.

       

      Regards,

      Todd