How do I config log4j when I started mockServiceRunner.bat
Hi, I use the command line to start the mock service with the command: "C:\Program Files\SmartBear\SoapUI-5.5.0\bin\mockservicerunner.bat" E:\Workspace\ESISMOCK\ChannelServiceV1-13-19-soapui-project.xml -p 8091 But it writes the log files at the path that I executed the command line. It doesn't read the configuration file fromsoapui-log4j.xml at the "C:\Program Files\SmartBear\SoapUI-5.5.0\bin\" Question: How do I config/run the command line with log4j config? Please see the attached file you will see the logs located at the executed folder. Regards, Dan609Views0likes0CommentsHow to enable custom log for SOAP UI for each run
Hi , I enabled Http Logging by adding the following to soapui-log4j.xml : <appender name="FILE-HTTP" class="org.apache.log4j.RollingFileAppender"> <errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler"/> <param name="File" value="${user.home}/.readyapi/logs/ready-http.log"/> <param name="Threshold" value="DEBUG"/> <param name="Append" value="true"/> <param name="MaxFileSize" value="5000KB"/> <param name="MaxBackupIndex" value="50"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p [%c{1}] %m%n"/> </layout> </appender> <logger name="org.apache.http.wire"> <level value="DEBUG"/> <appender-ref ref="FILE-HTTP"/> </logger> This works when I run the test and logs all http information to the log at the location. Issue : 1) This custom log now disables the http log in the SOAP UI Console 2) The log does not get created at the SOAP UI project folder , only at the given path. What is the config change required to get the custom log at the project root level when run from the test runner?2.7KViews1like0CommentsHow to Access Htttp Log from SOAP UI using the soap ui API
Hi, I am using the following code for capturing the http log from SOAP UI : def logArea = com.eviware.soapui.SoapUI.logMonitor def logPanel logPanel = logArea.getLogArea("http log") which works fine when run from SOAP UI itself. How can we access the http log when running the groovy script when SOAP ui interface is not open. For ex: I am running this fromANT. Is there any way I can use the SAOP UI API to capture this http log ? Basically I want to capture request/responses between redirects. Any help appreciated.Thanks1.5KViews0likes2CommentsHow do I change the log file names loadtestrunner creates for the testcase please?
I have a Load Test called 'getAccountDetailsRequest LoadTest' and everytime I run this via LoadTestRunner, it overwrites the previous files: getAccountDetailsRequest_LoadTest-log.txt getAccountDetailsRequest_LoadTest-statistics.txt I was wondering (hoping!) if there was a way to introduce a timestamp into the log file name at all? I don't really want to create a new folder for every execution. Thanks, Chris1.7KViews0likes6Comments