How 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.6KViews1like0CommentsRelated to log4j and Bitbar
Hi, as recently has been revealed such a big vulnerability like log4j I wanted to ask if is Bitbar affected somehow. With the recent updates over version 2.15.0 not being a full solution as a second vulnerability has been detected, I wanted to know if this has any impact or already a patch fixing it over Bitbar. https://www.zdnet.com/article/second-log4j-vulnerability-found-apache-log4j-2-16-0-released/Solved1.2KViews0likes1CommentClass Missing - org/apache/log4j/Layout
Hi, I am trying to execute soap ui test from Jenkins with maven commnd. But I am getting this error. [ERROR] Failed to execute goal com.smartbear.soapui:soapui-maven-plugin:5.2.1:test (default-cli) on project OrionAPITest: Execution default-cli of goal com.smartbear.soapui:soapui-maven-plugin:5.2.1:test failed: A required class was missing while executing com.smartbear.soapui:soapui-maven-plugin:5.2.1:test: org/apache/log4j/Layout My pom.xml <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>2.5</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>2.5</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-jcl</artifactId> <version>2.5</version> </dependency> <dependency> <groupId>org.ops4j.pax.logging</groupId> <artifactId>pax-logging-api</artifactId> <version>1.7.2</version> </dependency> <dependency> <groupId>org.ops4j.pax.logging</groupId> <artifactId>pax-logging-service</artifactId> <version>1.7.2</version> </dependency> Does anybody has any idea about this error?1.1KViews0likes0CommentsHow 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, Dan602Views0likes0Comments