How to properly create the request body assertion in ReadyAPI custom plugin?
I've manage to create a custom ReadyAPI plugin with two assertions, for request body and response body. Not the separate test steps, but regular assertions to be added to "Assertions" tab in request test step settings. Both classes extend `WsdlMessageAssertion` class and implement `RequestAssertion` and `ResponseAssertion` interfaces respectively. But the issue is both of these assertions are executed with `assertResponse` -> `internalAssertResponse` methods run. So I have two questions: 1) Is it possible to create a request body assertion that will be run properly with `assertRequest` -> `internalAssertRequest` methods run, and how to achive this? 2) Is it possible to execute request body assertion before the actual request during the test case run? Would it be possible with regular request test step assertions, or should it be achieved with assertions as separate test steps?Solved1.6KViews0likes2CommentsHow to customize logging settings for a custom ReadyAPI plugin
I've found the ability to tune logging for a custom third-party Ready API plugin by editing the bin/soapui-log4j.xml file. Is there a way to set a custom plugin's logging settings (console, file or some logs at ReadyAPI bottom logs UI panel) within the plugin's compiled *.jar file itself, not to edit the global soapui-log4j.xml file?703Views0likes0CommentsSuppressing info logging when using a maven plugin
Hello, I am using the ready-api maven plugin to run tests. I have a composite project. I am trying to supress the logging and output file creation because it is filling up the filesystem on our jenkins build slave. <logger name="com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner" level="warn" additivity="false"> <appender-ref ref="STDOUT"/> </logger> Here is what I have tried, none of which seems to supress the info logging: - logback.xml in src/main/java/resources <- set the log level to warn for the SoapUIProTestCaseRunner - logback.xml in src/test/java/resources <- set the log level to warn for the SoapUIProTestCaseRunner - soapui-log4j.xml in src/main/java/resources <- set the log level to warn for the SoapUIProTestCaseRunner - soapui-log4j.xml in src/test/java/resources <- set the log level to warn for the SoapUIProTestCaseRunner I am wondering why the project is not picking up the logging level when I build it. We do not have the acess to SOAP_UI home directory to install the logging configuration there. So, that is not an option for us.Solved4.4KViews0likes9CommentsPlugins for offline device
For various corporate reasons, I do my work on a device that does not have access to the general internet - I can only access URLswithin the company intranet. I therefore cannot browse plugins. I'd like to install the GIT plugin. Is there any way I can do this "offline"? "Could not load plugin list from repository - Available plugins will not be displayed" I note there's a "load plugin from file" option - is it possible to just grab the plugins as JARs and drop them somewhere locally? Failing that, I may be able to get the plugin location white-listed. If I were to do that, what would be the correct URL(s) to white-list so the plugin browser would work?2.2KViews0likes3CommentsMaven Soapui Plugin with json assertions does not work well in junit test
Maven Soapui Plugin with json assertions does not work well when i use last respository version in a maven project: <groupId>com.smartbear.soapui</groupId> <artifactId>soapui-maven-plugin</artifactId> <version>5.1.3</version> Logs: 17:37:26,465 ERROR [TestAssertionRegistry] Missing assertion for type [JsonPath RegEx Match] 17:37:26,482 ERROR [TestAssertionRegistry] Missing assertion for type [JsonPath Count] When will it be released 5.1.2 version to be able to use this type of assertion? A lot of thanks!!!!! Cristian Romero Matesanz3.9KViews0likes3Comments