soapui

Magento - SOAP API response incomplete when using a MAMP stack under Lion

↘锁芯ラ 提交于 2019-12-05 06:20:45
问题 I tested Magento's SOAP API using soapUI. I successfully logged in and got a login hash. Then I tried to retrieve a list of products and this worked fine. This was on a Linux server using the latest version of Apache, mySQL and PHP. I then created a backup of Magento and the database. I wanted to create a test environment on a Lion server using a MAMP stack. The Magento backup seems to work fine, but the SOAP API doesn't. Again I used soapUI to get a login hash and tried to retrieve all

How set timeout for one test step in soapui?

人走茶凉 提交于 2019-12-05 00:37:20
I have create a test step in soapui. I need to set a long delay like 5 minutes for it. I mean that there is no delay between test steps, I have to wait a response only for one step. How can I do it? Set the Socket Timeout to 300000 milliseconds. SoapUI Documentation TestCase Options has a Socket timeout setting for that test. You cannot set this for only one step. As other answers says it's not possible to set the socket timeout for a TestStep , however you can do the trick with a TestStep and groovy TestStep . You can do it doing the follow steps: Create the TestStep inside your TestCase and

SOAP Action mismatch error while testing a WCF service with SoapUI

ぃ、小莉子 提交于 2019-12-04 23:12:50
Am testing a WCF service with a sample input in SOAPUI. when i hit the run,I get an SOAP Exception like below: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"> <s:Header> <a:Action s:mustUnderstand="1">http://www.w3.org/2005/08/addressing/fault</a:Action> </s:Header> <s:Body> <s:Fault> <s:Code> <s:Value>s:Sender</s:Value> <s:Subcode> <s:Value>a:ActionMismatch</s:Value> </s:Subcode> </s:Code> <s:Reason> <s:Text xml:lang="en-US">The SOAP action specified on the message, '', does not match the HTTP SOAP Action, 'http://XXX.XX.XXXX

How to return dynamic response in SoapUI MockService

谁说胖子不能爱 提交于 2019-12-04 22:54:59
问题 I am new to SoapUI and have just configured a very simple MockService. Is it possible to manipulate the response so that for a particular request the response's elements are dynamically built up? Scenario 1: Request: <record> <identifier>ID1</identifier> </record> Response: <response> <child1>child 1</child1> </response> Scenario 2: Request: <record> <identifier>ID2</identifier> </record> Response: <response> <child2>child 2</child2> </response> It is for a simple test and I don't need it to

soapUI changes (disables) proxy settings of Internet Explorer

不问归期 提交于 2019-12-04 22:51:16
installed soapUI 4.5.1 . When i start soapUI it disabled all checkoxes in IE 8 Internet Options > Connection > LAN Settings . If i enter a proxy in soapUI > File Preferences > Proxy Settings , then soapUI overwrites the configuration in IE with this proxy The toggle button Apply proxy defined in global preferences in the iconbar has no effect on IE, only on soapUI connections. How can i disable this behaviour? I found out, that when you uncheck File > Preferences > UI Settings Opens startup web page when starting soapUI then the proxy settings in IE stay untouched. LaSchmu I experienced the

WSDL/SOAP Test With soapui

半世苍凉 提交于 2019-12-04 22:26:09
I have tested my web services (wsdl/soap) with soapui. and i have the errors : http/log : error 400 BAD REQUEST. What can be the error please with my wsdl ? error/log : un Jun 05 14:10:37 CEST 2011:ERROR:javax.wsdl.WSDLException: WSDLException (at /html): faultCode=INVALID_WSDL: Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'. javax.wsdl.WSDLException: WSDLException (at /html): faultCode=INVALID_WSDL: Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'. at com.ibm.wsdl.xml.WSDLReaderImpl.checkElementName(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl

How to increase text size in SoapUI

荒凉一梦 提交于 2019-12-04 22:13:55
Using SoapUI v 3.6.1 on Windows 7 and the text is tiny. Didn't find an option to increase text. tschaible Select File > Preferences (or hit Ctrl + Alt + P ) from menu and then pick Editor Settings group. Hit Select Font... next to Edtor Font and choose a different size/font face. Hit OK to confirm your changes. Any already opened editor window must be closed and then reopened in order to above mentioned changes to be applied. Java_Fire_Within Fixed the issue, I tried to right click on desktop shortcut which I have one for SoapUI, and select Properties, select compatibility tab, since I have

MD5 using Groovy in SoapUI

纵然是瞬间 提交于 2019-12-04 22:10:27
I created a test case which contains parameters that consist of key and value. I need to take all those parameters in an alphabetic order, and then create a MD5 hash value which i will pass to one of the parameters of this test. Any suggestions? i looked in google and cannot find anything helpful. Thanks ahead! You can retrieve the SoapUI's test case properties using a Groovy Script test step as given below. def map = context.testCase.properties.keySet().inject([:]){map, key -> map[key] = context.testCase.getPropertyValue(key); map } map.each { key, value -> log.info "Property name : ${key}

SOAPUI java illegalstateexception scheme 'https' not registered

随声附和 提交于 2019-12-04 21:32:45
I am trying to test connection to webservice using the soap UI. Created the project by importing the WSDL into soapUI and also set the keystore and keystore password under SSL seetings. However when I submit the request I get below error. Not sure how to register "https". Can you please help? java.lang.IllegalStateException: Scheme 'https' not registered You can try to create a groovy testStep in your testCase with the code below, this code creates the SSLContext and registry the https scheme... however I'm not sure that this can works in your environment because some times the java.lang

Create WS security headers for REST web service in SoapUI Pro

筅森魡賤 提交于 2019-12-04 21:23:18
We are developing a REST web service with the WS security headers to be passed through as header parameters in the REST request. I am testing this in SoapUI Pro and want to create a groovy script to generate these and then use them in the REST request. These parameters include the password digest, encoded nonce and created dateTime and password digest which is created from encoding the nonce, hashed password and created date and time, i.e. the code should be the same as that which generates these from using the Outgoing WS Security configurations in SoapUI Pro. I have created a groovy test