soapui

Improve SOAP UI performance

和自甴很熟 提交于 2019-12-04 00:06:07
I've started using SOAP UI recently to test web services and it's pretty cool, but it's a huge resource hog. Is there any way to reduce the amount of resources it uses? It shouldn't be a resource hog, although I've seen it do this before. I leave it running on my PC all week, and a co-worker with a similar machine (dual-core running XP) has to kill it every few hours, otherwise it keeps using CPU. I'd try uninstalling/re-installing. Currently, my instance has been up for 10 days, running a mockservice that I've been hitting very hard (I've sent it thousands of requests). CPU time total (over

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

时光怂恿深爱的人放手 提交于 2019-12-03 21:40:23
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 products. But now the response seems to be incomplete: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV

Working algorithm for PasswordDigest in WS-Security

拥有回忆 提交于 2019-12-03 19:38:09
问题 I'm having trouble with WS-Security, and creating a nonce and password digest that is correct. I am successfully using SoapUI to send data to an Oracle system. So I'm able to intercept SoapUI's call (change proxy to 127.0.0.1 port 8888 to use Fiddler where it fails because it's over SSL) - intercepting is important because these values can only be used once. I can then grab the nonce, created timestamp and password digest put them into my code (I've only got 30 seconds to do this as the

How to extract the parameter from Json Response Using Groovy?

自闭症网瘾萝莉.ら 提交于 2019-12-03 19:15:24
问题 The below is my response.. {"activation":{"existing":false, "customer": new}} Now when I use testRunner.testCase.getTestStepByName("xxx").getPropertyValue("response") The above script is extracting the response. Now I wanted to extract "customer" value. How to do this? Thanks 回答1: import groovy.json.JsonSlurper responseContent = testRunner.testCase.getTestStepByName("xxx").getPropertyValue("response") slurperresponse = new JsonSlurper().parseText(responseContent) log.info (slurperresponse

SOAPUI: How to include Groovy script from an external file

我与影子孤独终老i 提交于 2019-12-03 17:45:21
问题 How can I include groovy script from an external file? I was tried to use: def script = new GroovyScriptEngine('d:/soapui/payment.v2').with { loadScriptByName( 'proxy.groovy' ) } this.metaClass.mixin script But I get: Update Is there exists some possibility to pack my methods into jar or something like this, and use them from Script TextArea ? 回答1: The simplest way is to use Groovy Test Step within SOAPUI to run the external script using the GroovyScriptEngine. I use GroovyUtils to find the

Getting AddressFilter mismatch at the EndpointDispatcher in SOAPUI request

こ雲淡風輕ζ 提交于 2019-12-03 15:15:33
问题 My service is running fine If I use it via my client application. I am using same wsdl to load in SOAPUI. It has successfully created sample tests for each method. I want to send a request and it should generate response accordingly. I can see the correct Endpoint address in request properites. It automatically has generated a SOAP XML. If I try to run it to get response. It is giving me following error. <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org

How to return dynamic response in SoapUI MockService

*爱你&永不变心* 提交于 2019-12-03 15:01:55
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 do any more than the above. I am currently doing the following that yields the results I want but since

How to use Soap UI without wsdl?

让人想犯罪 __ 提交于 2019-12-03 09:26:50
Hi I have installed Soap UI...Like C, Java we will create some sample program. likewise i wanted to use some sample request and response..how to create a request and response without wsdl? Miklós Molnár Create new SOAP Project using File > New SOAP Project Set the name as required Leave the initial WSDL field blank On the Project Navigator Window to the left, mouse over the project folder and select New Rest Service from URI using the context menu Enter the enpoint you would like to send a SOAP message to, i.e. http://www.webservicex.net/WS/WSDetails.aspx?CATID=2&WSID=10 Choose POST as the

SoapUI change endpoint address

╄→гoц情女王★ 提交于 2019-12-03 09:24:50
I'd like to change the endpoint address, but it's giving me defined values, I mean, only one value "/" . I tried writing there, but it did not work - it is not editable. How can I change it? Look at the request window and expand the select box with the endpoint address. You should see something like this: / [edit current...] [add new endpoint...] [delete current] You click on [edit current...] and you can change the value. Here is an example using some available web service from w3schools.com : http://www.w3schools.com/xml/tempconvert.asmx?WSDL On Linux, there are 2 ways of changing the

SoapUI request to WCF service fails using certificates

匿名 (未验证) 提交于 2019-12-03 09:18:39
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a custom binding like following for my WCF service which I am trying to call from the soapUI 4.5.1 <customBinding> <binding name="NewBinding0"> <transactionFlow /> <security authenticationMode="MutualCertificate" defaultAlgorithmSuite="Basic128" securityHeaderLayout="Lax" includeTimestamp="false" messageProtectionOrder="SignBeforeEncrypt" allowInsecureTransport="true" requireSignatureConfirmation="false" requireDerivedKeys="false" keyEntropyMode="ClientEntropy" requireSecurityContextCancellation="false"