soapui longtime response problem
How to Capture error messages while running the test case and display at the end of the test case
I am trying to run a test case and if there is any error in the flow it fails(which is as expected), but the test steps after the error will be skipped and the test case stops.
I want the rest of the test steps also be executed and return me all the errors at the end of the keyword test execution. Is this possible with Testcomplete. Please help me with inputs
Thanks in Advance
How to create a Virt that simulates file upload/download?
Hi,
I will appreciate it if someone can point me to the documentation topic that describes how to implement a virtual service that simulates file upload from and download to the client or share their own experience.
Apply Outgoing WSS in a TestCase for each request
Hi,
I need to execute a load test of a soap service using wss security.
I defined the Outgoing wss policy and when I apply it manually the request works fine.
I need to test the service using different values so my steps are:
1. calculate the values
2. set the values in the request
3 send the request
To accomplish that i created a Test case with a groovy script that handle the variables values and i used the ${} notation to transfer the values in the soap request.
Because of the policy, it sign the message, I cannot apply it once, I need to apply the policy to each request.
Is there a way to apply an outgoing wss policy definden for a progect at each invocation?
Many thanks and regards,
Alex
How to get the Swipe method values?
how to connect cosmosdb through soap ui
how to connect cosmosdb through soap ui
Performance issues using Git
Hey guys, hope everybody's doing fine.
We have just started using TestComplete and ran into pretty extreme performance issues with the Git-integration of TestComplete, that manifest themselves by starting and stopping the git executable multiple times in parallel in between stopping a recording-session and TestComplete being responsive again.
Has anybody run into issues like that?
It seems, that whenever TestComplete changes a file, the git-executable fires and listens for changes.
Thanks in advance.
Capture request log via groovy script from a specific test step
I have a groovy script from where i invoke a API call.
The API call "Request log" section is required in my groovy script.
def logArea = com.eviware.soapui.SoapUI.logMonitor.getLogArea( "Request Log" ); def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context.get) if( logArea !=null ) { def model = logArea.model // only continue of logArea not empty if( model.size > 0 ) { for( c in 0..(model.size-1) ) { log.info(model.getElementAt(c)) } } }
This cant get it from the next step which is my API call.
Kindly help
Missing mandatory field error on element contained in optional object
I am just learning to use SoapUI and I am encountering a missing mandatory field error when one of my optional request elements for a SOAP API contains a mandatory element. You can see in attached image that 'owner' is mandatory on 'changeNotice', but 'changeNotice' is optional on 'rev'. How do I avoid this error?
Running Tests suite on changing path of testedapps using Jenkins
Hi,
I have a Jenkins project called SmokeTest which will start running when another upstream project outputs a successful build. The build output is in the form of a zip file, which contains an execuatbale program (TestedApp). This zip file is copied over from the project to my test slace machine workspace. I want to run the TestCompelte test suite on this testedApp each time the build is successfull. The output zip file each time has the build number incremented with each build, so for one build it is "App12" next build it will be called "App13".
In my TestCompelte project I have to specify the path to the Testedapp,
1. how do i overcome this hardcoding and make it run on each new build despite the changes in filename?
2. How do i unzip the file using vb script.
Datasource test step - path not retained after updating from github repository
Have a Datasource test step using Excel data sheet and checkin to GitHub.
When I update from repo the path to the Excel data sheet is no longer recognized.
I have to manually browse to the Excel sheet
Location of Excel sheet:
C:\ArthrexWebServicesSQA\DotNet\DotNet_Soap_Reports_BP\DataSheets
when the project is saved and uploaded to GitHub it is stored as:
C:/ArthrexWebServicesSQA/DotNet\DotNet_Soap_Reports_BP/DataSheets
All this was working until just recently... so not sure what has changed. Happening on many machines.
thanks
how can i create a Batch file to execution project from Jenkins
Can any one share how can i create a Batch file to execution project from Jenkins
Using System.IO.FileSystem.Watcher
I want to monitor a folder for changes and FileSystemWatcher looks like what I need, but I'm having trouble bringing it into my project.
I was able to bring the exact library in via Project Properties CLR GAC, but I'm having trouble bringing it up in my project.
I can only get this far:
dotNET.System_IO.
Is this even possilbe?
Here's the FileSystemWatcher page from Microsoft.
https://docs.microsoft.com/en-us/dotnet/api/system.io.filesystemwatcher?view=netframework-4.7.2
Any help would be much appreciated,
Rob
CheckProperty and the text in the log
CheckProperty(tbl, "RowCount", cmpGreaterOrEqual, 1); yields the text
"The property checkpoint passed: RowCount is greater than or equal to 1."
I would like to change this text and leave the additional info
Result
The property checkpoint passed: Aliases.browser.pageMain...entDetail.tblActivities.RowCount is greater than or equal to 1.
...
As is. I would like the line in the log to match manual tester speak as they will compare the results to a test case. I think this can be done, but I am not remembering how. I like the simple CheckPropeerty code line... I would like a solutiont hat I can use across many checkpoints in my solution without writing if conditions for my in code checkpoints.
Thanks
SOAP UI - Multiple responses
I’m wondering if someone can help with the below query.
I’m using SOAP UI to send a request to an application. The application first responds with a successful acknowledgement back to SOAP UI (this bit works fine). The application then responds a second time with the response body.
Is it possible to intercept the second response in SOAP UI?
I have tried creating a Mock Response to intercept the second response, however it doesn’t seem to ever ‘receive’ the second response (I have set the mock response to listen on the port and path to which the second message is delivered).
Could someone please advise if what I am trying to do is possible? I’m not sure if I am confusing what the Mock Response is able to do.
Many thanks in advance.
Peter
I'm very eager to automate the SOAP-UI.
I'm new to SOAP-UI. Could you please suggest, as a beginner, what I need to refer for the basics, to do automation with Soap-UI
Thanks in Advance
ProTip: Read data from Excel using ADODB
I have created a detailed article on reading data from Excel using ADODB connection.
You can find that https://www.linkedin.com/pulse/testcomplete-read-data-from-excel-step-shankar-r/
Help on SOAPUITestrunner
Hi,
I have an soapui xml which runs through toolrunner sucessfully in soapui tool.(Run button after selecting test case)
I am trying to execute the same xml in java through eclipse. Iam using the class SoapUIToolRunner for this and getting an error for java.lang.NullPointerException. I think it is because interface and tool is not set in soapuitoolrunner.
Can you please let me know how to set interface and tool in soapuitoolrunner class. If possible any sample code.
------------------
Code used for soapuitoolrunner
SoapUIToolRunner SoapUIToolRunner = new SoapUIToolRunner();
SoapUIToolRunner.setProjectFile(projectfile);
SoapUIToolRunner.setProjectProperties(soapprop);
SoapUIToolRunner.run();
-----
Error log
17:33:23,045 INFO [DefaultSoapUICore] All plugins loaded
17:33:25,526 INFO [WsdlProject] Loaded project from [file:/C:/..../medicareSupplier-soapui-project.xml]
17:33:25,544 INFO [SoapUIToolRunner] Running tools [null] for interface [null] in project [medicareSupplier]
java.lang.NullPointerException
Domain required for Distributed testing?
Hello,
I've question regarding distributed testing in TestComplete 12.6
Is it possible to run tests a slave VM that's NOT part of a domain? (see attached pic)
Kind regards,
Daniël
How can I parameterize the complete end point details?
Hi All,
We are implementing REST web services automation for our system and there is a requirement to parameterize the end point details, say the end point is
UAT env:
https://dwu-usystem11:9002/authorizationserver/auth?username=test&password=test
Test env:
https://dwu-usystem11:9002/authorizationserver/auth?username=test&password=test
In our current implementation we have created two environments(Test and UAT) and saving the end point in the resepective environment. When some thing on the end point host name, that is https://dwu-usystem11:9002 changes from 9002 to 9003, then its happening to go to each and every end point ( we have around 200+ end points) and update the node value to 9002 to 9003.
To over come this problem do we have a solution of maintaining the end point host name value in a property and reading it, so that if any thing changes in it we could just update the propery or any one point place.
Really appreciate your help.
Thanks,
Santhosh.G