soapui

soapui soap digital signature

烂漫一生 提交于 2019-12-04 09:36:56
I need to digitally sign a soap message in a client. A PEM file with both private key and certificate has been given to me. I thought to test with SoapUI. Configuration for signature is done OK in Outgoing WS Security configuration - see the picture, as well, pem is added OK in Keystore/Certificate tab, but the soap message sent to a service is not signed. Does anybody know how to solve this problem? In your SOAP Request TestStep you have a tab called Aut . (First tab on the left) There you have to add your Outgoing WSS Configuration. See screenshot: 来源: https://stackoverflow.com/questions

Where does Soap UI look for a file in new File() Groovy Script by default? How do i change this?

青春壹個敷衍的年華 提交于 2019-12-04 08:38:28
I have a groovy script which reads the text from a file and returns it as a response i have to read it as follows text = new File("D:/text.xml") now the problem is i'd like to use relative paths.. so i was wondering If i just say text = new File("text.xml") Where does Soap UI / Groovy start searching for the file by default? This currently throws a "java.io.FileNotFoundException". How do i change this so that it uses paths relative to the project.xml file? This is how i finally solved my requirement def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context) def projectPath =

Need through guidance on Gradle script to execute soapui project xmls and generate report html

自闭症网瘾萝莉.ら 提交于 2019-12-04 06:54:28
问题 I have a gradle script to execute one one SOAPUI test suite. Currently the failed logs are coming in the same folder. I want to get all of the pass and failed logs to be created in separate folder. I want to have a index.html like report too to see the execution pass/fail reports. Does it create any testsuite.xml that stores the passed and failed data of each testcase like ANT? I am not familiar with gradle. So I need a good gradle script that can help me out of this. My current gradle script

How can I use relative paths to external response files for soapUI MockService

北城余情 提交于 2019-12-04 06:38:34
What I've Done I am using soapUI (3.6.1 Free version) mock services to serve up specific data to 2 client applications I am testing. With some simple Groovy script I've set up some mock operations to fetch responses from specific files based on the requests made by the client applications. The static contents of the mock response is: ${responsefile} The groovy in the operation dispatch scripting pane is: def req = new XmlSlurper().parseText(mockRequest.requestContent) if (req =~ "CategoryA") { context.responsefile = new File("C:/soapProject/Test_Files/ID_List_CategoryA.xml").text } else {

Validation of encrypted SOAP request throws the error fault

耗尽温柔 提交于 2019-12-04 06:26:18
问题 This picture shows my simple ws-security configuration of soapui: And I apply this configuration to soap request: Then <arg0> content of soap request is encrypted. This is encrypted soap messsage. <soapenv:Envelope xmlns:soap="http://soap.aaa.com/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401

Auto-increment Custom Properties for SOAPUI testSuite

强颜欢笑 提交于 2019-12-04 04:22:32
问题 I am looking to auto-increment a Custom Property as my SOAPUI test is running. Currently my tests require that there be a unique portion, referred to as UniqueUserPortion, that get incremented as I test for uniqueness in usernames/emails. Is there a way for me to increment this custom property (#Project#UniqueUserPortion), as I will need it to be unique for the next step which is the check for unique username? Check for unique email: { "UpdateIdentityRequest":{ "guid":"${#Project#UserGUID}",

API Testing Using SoapUI vs Postman vs Runscope

怎甘沉沦 提交于 2019-12-04 04:17:10
I'm new to using applications to test backend APIs. I've always just manually tested using the front-end applications. What I would like to do is to use an app that is designed specifically for backend API testing. So far, I've been directed to SoapUI, Postman, and Runscope. But I'm at a loss as I am more of a test analyst than I am a programmer, despite having experience automated testing in Selenium with JavaScript, Python and Ruby. Any suggestions? Thoughts? Warnings? (I posted this to the QA page, too, so sorry for the duplicate question) SoapUI is not a paid tool. It has a Open Source

Formatting a SoapUI Project File

我怕爱的太早我们不能终老 提交于 2019-12-04 03:13:45
I use the free edition of SoapUI (version 4.6.1) and notice that its project files are very poorly formatted. Many of its elements are not on dedicated lines or indented like one would expect of a large XML file maintained by developers. This makes it more difficult to diff & merge changes to source-controlled project files. I am aware that SoapUI Pro offers a way to address this diff & merge difficulty with an option for multi-file composite projects as another SO question & answer describe; but I would like to have a better experience with the free edition of SoapUI. Is there a way to make

Jenkins Test Result Trend Graph Empty, but Tests Are Run

送分小仙女□ 提交于 2019-12-04 00:46:16
Where does the data that produces the "Test Result Trend" graph actually come from? I have a "Test Only" job that produces 2 files in target/surefire-reports. (Produced by maven) Inspecting the files directly shows that the tests are executing and passing. The graph shows successful builds along x-axis but no test results. If I click on a specific build from the project page, it shows "(no tests)" next to the "Test Result" link. Is there some sort of post-processing I need to do on the XML files? They are in JUnit format, produced by the maven-soapui-plugin. Thanks! You need to check "Publish

Import swagger definition to SoapUI community edition?

大憨熊 提交于 2019-12-04 00:25:18
I'm playing around with SoapUI (the free/open source edition) to see if it could be useful at work for the kind of extensive API testing we often do because right now we do most of our testing right on the swagger-ui page in each server/app and some of the features like automating some test cases could be really handy (among many others). The problem I have is that I can't figure out how to import all the endpoints into SoapUI without having to manually create them one by one. I see there's an option to import from swagger but I can't seem to get it to work and googling around hasn't helped me