soapui

soapUI: how to add Thumbprint as SecurityTokenReference to wss SIGNATURE entry

徘徊边缘 提交于 2019-12-13 14:56:31
问题 I have a question regarding soapUI: I'm trying to add a ws-security header to my soap-requests containing a signature. To do that I used the soapUI-dialog "WS-Security Configurations" in the project preferences. It works as expected, but my server application requires a Thumbprint-SHA1-Id as the KeyInfo//SecurityTokenReference Element. I found out that soapUI provides this option in the WSS Entry "Encryption" but not for "Signature". So my question is: How can I use the Key Identifier Type

How to send an email using groovy script in Soap UI?

落花浮王杯 提交于 2019-12-13 09:14:12
问题 I want to send an automated email once all my test steps are passed in SOAP UI, using a groovy script test step?? Is there a way that we can achieve this ?? 回答1: You will have to use a Java library such as Simple Java Mail and call it from Groovy in a Groovy Script Test Step. You can add external jars in the bin/ext directory of your SoapUI install, and they will be added to the classpath next time the tool is started. If you use the samples from a library, you can use the Java, in most cases

soapui maven plugin jms not found

女生的网名这么多〃 提交于 2019-12-13 08:22:50
问题 I ran into an error trying to test a WS using soapui maven plugin : 15:06:45,391 ERROR [AbstractTestRunner] Exception during Test Execution java.lang.NoClassDefFoundError: javax/jms/JMSException at com.eviware.soapui.impl.wsdl.submit.RequestTransportRegistry.<clinit>(RequestTransportRegistry.java:47) at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:240) at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:419) at com.eviware.soapui.impl

How to transfer dynamic auth value in all requests instead of changing the value in every request's header in SOAPUI

假如想象 提交于 2019-12-13 08:14:22
问题 I am new in SOAP UI. I have an one scenario like I have to pass the access token value coming as a response to all the requests under the test suite.This access token type is "Bearer". I ADD this token value in the next request header field called "Authorization" and it is working but my query is there any method OR grovy script that I can add which can be applied for all the soap requests, instead of changing the value every time for all request's header.How to automate this?Please guide me

Groovy - Reading files from tomcat server

微笑、不失礼 提交于 2019-12-13 07:47:09
问题 I'm not able to retrieve file contents using Groovy. Below is the code, error in Soapui portnumber = ":8080" extractedValues = new File("//hostname"+"${portnumber}"+"/share/test/working/test.csv").getText('UTF-8') log.info(extractedValues) Error: java.io.FileNotFoundException: \\hostname:8080\share\test\working\test.csv (The network path was not found) error at line: 54 I feel like the issue is with the port number, thus why I'm passing it in a variable. The link itself works when logged on

Execute JDBC teststep using Groovy in SOAPUI

时光毁灭记忆、已成空白 提交于 2019-12-13 07:38:26
问题 I am trying to execute JDBC teststep using Groovy in SOAPUI def Proj = null def workspace = testRunner.testCase.testSuite.project.getWorkspace(); Proj= workspace.getProjectByName("<ProjectName>") def ProjTestCase = Proj.testSuites["["<TestSuiteName>"].testCases[" <TestCaseName>"] def DBTestStep = ProjTestCase.getTestStepByName("Get_10_DBValues") def runner = null runner = DBTestStep.run(testRunner, context) log.info(DBTestStep) runner = null I gives me following output INFO:com.eviware.soapui

Unable to completely uninstall SOAPUI

我与影子孤独终老i 提交于 2019-12-13 07:33:17
问题 when uninstalling the SOAPUI from windows 10 or windows 7 it will uninstall the application but the smart bear folder in c:/program files is not removed. I am uninstalling soapui with the uninstaller.exe in the smartbear folder. can anybody help me with any suggestions as to why the smart bear folder is not being deleted when we use the uninstaller 回答1: In general, any software installation, it keeps track of the file being installed. And the same files gets removed on uninstallation .

How to test an API with query string from postman(or SOAP UI/Fiddler) [closed]

笑着哭i 提交于 2019-12-13 07:09:33
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I have an api link as following https://hostaddress.com/api/v1/query The API currently supports one endpoint: query. The query endpoint allows the user to make queries. The query endpoint must be accessed with the GET HTTP method. Requests to the query endpoint must be sent with the GET HTTP method. The required

Changing the request XML in Load Script

ⅰ亾dé卋堺 提交于 2019-12-13 07:05:11
问题 I have a soapui project for a big IT-System which offers hundreds of Webservice, only some of the webservice are in my project. Everytime I add a new WSDL to my project, I have to do a lot of monkey work to adjust the xml for the request (like adding placeholder for properties, removing comments, replace questionmarks....). I thought I could easily write a "Load Script" for the project in which I register some Listener, and everytime a new request is added the script will fetch the xml

SOAP Error in PHP: OperationFormatter encountered an invalid Message body

自作多情 提交于 2019-12-13 05:38:58
问题 Original Question: I'm trying to get data from SOAP API wsdl link. My code as below. But I get this error. Can anyone please help with this? Error Message: OperationFormatter encountered an invalid Message body. Expected to find node type 'Element' with name 'GetLocalRates' and namespace 'http://tempuri.org/'. Found node type 'Element' with name 'soapenv:Envelope' and namespace 'http://www.w3.org/2003/05/soap-envelope' <?php $api_link = 'https://www.my-api-link.com/RateAPI.svc/SSL?wsdl'; /