Contributions
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, Dan602Views0likes0CommentsRe: Can I get the operation name at the groovy script?
HiavidCoder, I'm working at the mock service (Mock Response). It doesn't work. I applied your code and it returns: com.eviware.soapui.impl.wsdl.mock.DispatchException: Failed to dispatch using script; groovy.lang.MissingPropertyException: No such property: testRunner for class: Script33 Is it can be used the testRunner on the MockResponses? Regards, Dan2.1KViews0likes1CommentRe: Need help! with empty response when I using the external XML as response.
HiavidCoder, Sorry for the late reply. For share XML, I can't share it for you because it has confidential company data. So, Do you have the example that you can be shared to me? I just need to read the XML file and use it responsibly when the request calls it. I followed the topic below: https://www.soapui.org/soap-mocking/creating-dynamic-mockservices.html No.7. Using files in a mock response Regards, Dan4.2KViews0likes4CommentsNeed help! with empty response when I using the external XML as response.
Hi, I'm the beginner for SoapUI. I have a problem when using the external XML file for dynamic responses. It returns an empty message for the response but it appears on the log.info. 1. I created the request "Req_NAME_ID1" 2. I created the response and force it reads the XML from specifying the path. def resultRespXML = new File("C:\\Users\\Administrator\\Desktop\\Temp\\Test\\mockResponses\\Resp_0000202130123310_0057076200.xml") log.info resultRespXML context.content = resultRespXML 3. Run and see the log. It shows the message log from log.info 4. But it doesn't show the data at the Response. Please help me. Regards, DanSolved4.3KViews0likes8Comments