Colon (:) is being sent as ascii (%3A) in HTTP Request
I have a timestamp parameter. I need to pass this parameter into a request as a query parameter. When the request runs the colons ( : ) in the time field are converted to ascii (%3A) causing the request to fail. I updated my ReadyAPI settings to use UTF-8 encoding. I am unable to get the request to send the timestamp without converting the colons. Is there a way to prevent the characters from being changed to ascii? Example: The timestamp is:09-23-19T11:41:27 The request passes the timestamp as:09-23-19T11%3A41%3A27Solved9.7KViews0likes1CommentHow 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.5KViews0likes2CommentsSoapUI Java API sending simple Http POST
Hi, I'm using Soap UI java API for some basic functionality, such as sending soap requests and running a wsdl mock service. Now however I want to simply create a default project; a test suite; a test case and a http request test step. But I can't find out how to go about this using the Java API. Since I have no wsdl I only want to maka a simple HTTP POST call. Setting this up in SoapUI gui, no problems but I don't get which java methods to use when doing this programmatically. Can anyone give me a pointer, or two? Thanks in advance! // Nisse BakkerudSolved4.5KViews0likes3Comments