-
How to execute a simple soap request Without WSDL/WADL URL??
Just I want to execute a simple soap request without using WSDL/WADL... Using end point URL.. So what should I do to get response of the request.. And what are the steps and setup to be followed in transport tab?? Could you please help me in this??
-
Your credentials could not be authenticated: "Credentials are missing.". You will not be permitted a
When I tried with soap client with custom end point but I'm receiving below error message could you please help me in this? "This is typically caused by an incorrect username and/or password, but could also be caused by network problems" for this what configuration we need to do
-
Soatestcli Groovy script extension tool shell command call throws Permission Denied.
I've a groovy external tool script setup to call the python command from shell. Code is "python test.py" .execute(). Which is working fine in my local machine. Now I have Jenkins instance running in a server from where I'm running the same test case with soatestcli and it gives me permission denied for Calling python. I…
-
any idea about initia set up for messaging client?
when I gave only endpoint detail in transport, and transport as HTTP 1.1./HTTP1.0 when I tried with above configuration its throwing following fault code Client.NoSOAPAction WSWS3147E: Error: no SOAPAction header! other than this do we need to do any configuration to get success response? if any one knows about this…
-
XSLT buggy
Sometimes when I add output XSLT right under a test suite ,sometimes it works and sometimes it does not. I even changed it to a path that does not exist to introduce an error and it reads right over it. If i have it as a Test on its own I get premature end of file. I have other test suites where it works. Is there any kind…
-
How to dynamically add xml tag to a soap request?
My groovy is generating an xml tag and need to inject it in a soap request? what are the probable way in which we can handle this scenario?
-
Individual Node Assertion on Repeating XML nodes where not all data is known
I have a scenario where I post data to a rest service and the message has repeatable items, for instance multiple lineitems. On the response I would like do do assertions at the line level where some of the data will come from the Request message and some are unkown but I can verify existence, type, length etc. I can do…
-
DataSource Message as a Input to XSLT
How do I reference a DataSource as input to an XSLT? I have a soap message in a datasource but I need to reference that source data later in my test suite. thx
-
Why the EOFE exception is occured?
how to do to initial configuration setup for server details and preference details? what we need to give in the field of URL under preference. when I'm trying to add new WSDL or WADL its throwing error like the WSDL URL is not accessible at that time what we need to do?
-
Getting java error, when trying to open a project/tst file.
Error Details: java.io.ioexception:com.ctc.wstx.exc.WstxParsingException:Received non-all-whitespace characters or cdata event in nextTag(). at [row,col{unknown-source}]:[8348,48]. Please help with resolving the issue.
-
404 error when running SOAtest locally calling a local service
I am running SOATest on my local laptop. I am trying to call a simple service on my same laptop I keep getting "Received HTTP Response Code 404: Not found" When I double click on that message it says "Network Error (dns_unresolved_hostname)". Ok so what I did was a dns flush and used FQN, ip address, etc and does not work.…
-
I want to add the amount and assert the total to a value
Hello, SOA test : 9.9.5 I have an API where the response will be the clients accounts details like(accounts name, Category, amount and etc). I want to add all the different accounts "amount" and assert the same with the "total balance" field. please advise. Thank you. regards, Neil
-
Whitespace issue with SOATest - Help Needed ASAP
We have XML based request and response. When we get response back from our server or database in XML format and if the same response has whitespace at the beginning or at the end of the tag, SOATest response in Traffic Viewer --> Literal beautify the XML by default and doesn’t show the whitespace. Example: Here is one of…
-
how to validate if response field is expected to return X and Y.
Hello , I want to assert on a a response field(string comparison assert) . But the response field value returns X and Y . Both values are Valid. I want my assertion to pass the test in both cases. I know we can assert on one expected value. can you please advise which assertion to use to validate the same field with two…
-
How to extract empty tag values into a data bank
Hello, tool: SOA test 9.9 PART 1 I am extracting a value to data data, sometime the data is expected to be empty. The data bank throws an exception that: No nodes found. I want to retrieve some value even though the value is empty. I tried to go into option of data bank and set extract empty value as 'a' - But it did'nt…
-
How to assert the length of the field.
Hello, In SOA test 9.9 . Is there any specific assertion to validate the length of fields coming in response? e.g: I want to apply and assertion below field should be always 16 digits: 123456874874834 Regards, Neil
-
X-path going back to a different field in same payload
Hello, I want to apply an assertion on below fields only when the "name" : "woodGundyDeposit"... "categorization" : { "category" : "NON_REGISTERED_INVESTMENT", }, so i am going to name field .. But I want to know how to come back and assert on Category field.…
-
How to apply an x-path into an array.
below is the sample JSON response, I want to get the documentid whose "subcategory" : "Loans" only i tried below, didn't work out. //documents/documentId[subcategory="Loans"]/text() I want to apply a condition on subcategory field and retrieve only document id which satisfy the condition mentioned. { "documents" : [ {…
-
How Do I Load or Use A Provided WSDL Link?
I have been provided a WSDL link to try and get some experience with but I don't know how to load or access it in SOAtest. How do I load or use a provided WSDL link? At the moment I have only an empty SOAtest project. Regards, Bright
-
How Do You Create a VirtualAssets Project?
I am trying to add a WSDL file for the first time to a project as shown in the "Create a virtual asset from a WSDL service description" video at https://parasoft.com/support/service-virtualization-and-api-testing-how-to-videos/ and while they show how to add the WSDL file they don't show how to create the VirtualAssets…
-
How to fix java.lang.runtimeexception error initializing storage while launching SOAtest
Hi Team, We are receiving a error " java.lang.runtimeexception error initializing storage , An error has occurred. See log file null" while launching SOAtest. I didn't get any help from recent posts in Forum and its blocking the execution. kindly Suggest the solution for this
-
Looping
I have a XML source pulled in from calling a .jar file. I need to loop thru that XML file based off xpath and send each one to a soap or rest service. How would I do that?
-
JMS Monitoring
Could Not create JMS IntialContext Instance Hi, I am trying to monitor the JMS send and Receive messages in SOAtest 6.2 using Java Message Service option available in SOAtest. I am using ORACLE WEBLOGIC SERVER 10gR3. But When I am given the server details in SOAtest click on next it is showing error pop up saying "Could…
-
Using variable preceded by backslash
I'm trying to assert on a xml tag that should contain a file path. I configure a String Comparison Assertion "Element must contain/Expected value/Fixed" with the following value: ${rootfolder}\${variablefolder}\filename.xml. This gives an error message like "should contain expected value:…
-
How to convert binary format bytes into PDF via parasoft tool.
Hello, I am using parasoft SOA test 9.9 . I want to know how to convert binary bytes to PDF format via Parasoft SOA test tool. Is there any Add-in or extension tool to convert binary bytes into PDF and view the same via browser.
-
DateTime Diff based on current time
Hi, Is there a simple way to use a DateTime Diff with Base Value == test execution time or current system time? Any kind of ${now} variable that exists???
-
Maximize window and screenshot capabilities using Chrome 57 in SOAtest 9.10.1 and earlier
In Chrome 57 the ability to take screenshots or maximize a window when using the Selenium engine for playback is broken in SOAtest 9.10.1 and earlier due to an issue in ChromeDriver (see https://bugs.chromium.org/p/chromedriver/issues/detail?id=1625). The ChromeDriver team fixed the issue in version 2.28 and the updated…
-
How to customize the return status for same responder?
I need to achieve following things. 1. 10% Calls should respond with HTTP 404 or HTTP 500 3. One of the services should get failures (HTTP 500) for 15-20 minutes and then it should pass (200 ok) for 15-20 minutes.
-
Read and update data in CSV , doesnt pick the recent data
I have to consolidate the report data in csv format. After each test suite run I update the csv with the latest paremeter value and use this as a datasource to the next test step. However even if the csv is updated somehow it picks the old data present and uses in next test step. I have also tried deleting the old csv and…
-
Test Suite Reference - modifying and seeing/using the changes in the referencing test
When you modify the original test used as a Reference Test in another test suite, the changes will not immediately be visible in the referencing test suite and will not immediately be picked up when running the referencing test suite. For example, if I were to create a Logon test with username "john". I reference that…
-
Help with extracted data.
I am new to soatest. I am extracting data for other request. But sometime, my variable is not read in my request. how do i resolve it.
-
HOW TO EXECUTE JAR FILE USING JYTHON OR GROOVY SCRIPT VIA EXTENSION TOOL
we are trying to run jar file with a parameter which will generate data files and load into a folder. used to do with windows bat file but its not working in linux, so was trying to see if groovy or jython can help. Tried this but getting error in jython: from java.lang import * from java.io import * from soaptest.api…
-
Parasoft SOA test, I want to RUN the same .tst 100 times with out datasource
Hello, I want to RUN the same .tst 100 times with out data source. we press f9 to Run the test once , can we do it in any other way to RUN the same 100 times. if we use excel sheet, then yes , we can cope the same data to 100 rows and RUN all rows. but my requirement is i am not using excel sheet. tool : parasoft SOA test…
-
I want to truncate first few numbers in 16 digit number using xpath(databank)
Hello, I am using data bank to retrieve a value to use in subsequent test. But I want to truncate the value and need only last 4 digits of 16 digit value. This is the x-path /root/card[1]/value[1]/text() This is the result of x-path. 4506446460519412 when I press evaluate x-path , i should only get last 4 digits "9412" can…
-
How to use the stash reposotiry/GIT -checkin /checkout with parasoft SOAtest
I have to create a different working folder , copy the workspace and then check in to stash/ git . Is there a way to directly commit the changes / pull from the repository using parasoft and GIT /Stash
-
SMTP Messaging client with file attachment
Hi! I was please to discover that it is really easy to send an email using a Messaging client tool. I want to test a workflow that is started when an email is received. Anybody knows if it is possible to add attachments to the email? Additional headers or ways to format the request??? Thanks!
-
how to get the iteration count and assertion details in report generated
I need the report in a format 1. I should be able to see all the assertions added in the script. Failed as well as Passed assertions. Currently report shows only failed assertion 2. The number of run the testscript ran .Passed and Fail count of the test script.( One test script has combination of 20 test data , in the…
-
Starting Chrome in developer mode
Does anyone know if it is possible to start Chrome with developer tools open from SOAtest?
-
Resize Chrome Browser
Hi, I am new to Parasoft SOAtest. Is there a way to resize a Chrome Browser window after SOAtest has started the browser? I don't want to maximise the window, I want to reduce the window size. Tnx in advance for your help.
-
How can I run my test suite faster
I have validate the application after Deployment. We have 6 test pointing to 66 servers. Total Test 6X66 = 396 took 45 minutes with Concurrently option. We need to make it faster. After deployment, usually it runs slow on very first time, but is there any way to make it faster? Using SOA 9.7
-
Using SOA Test tool to get Healthcheck of servers
I was looking for a solution to create Test Suite to check servers. I have URL
-
SOATest-Can we define environments at project level?
Our team is trying to work in SOATest and checking in our SOATest files into IBM RTC (Rational Team Concert). We are working on different tst files under the same project. But the challenge is we use the same Environment so I was wondering if there is a way to define Environments at the Project level instead of Test Suite…
-
Testing REST (GET) service that needs Excel and Database data sources
Hi, I have a REST (GET) service that I am trying to test. This REST service needs a value that I have to obtain by running a query from my database. Example of service: https://${HOST}/RESTServices/api/test/${TEST_ID} So I would need to query to get that ${TEST_ID}. I know this can be easily done by using a database data…
-
SOATest: Use of datasource column names in the XPath editor
I have the below JSON response where I need to assert the statusCode for a particular name and this name is getting fetched from the 'name' column in the excel sheet used as a datasource. JSON response: [ { "clientTypeCode": "IP", "statusCode": "PEND", "statusName": "Pending Approval", "id": 0, "name": "test1" }, {…
-
How to compare SOATest files in Eclipse
We have been using Eclipse to checkin and maintain our SOATest projects and files in IBM RTC. We are facing merge conflicts when more than one person is working on the same .tst file and if we are trying to accept someone's changes. Is there an editor where we can compare the SOATest files ? Because the inbuilt Compare…
-
How to extract fields from response message and write to file?
Hi. I am executing some tests which require a report to be generated at the end. My test request messages are XML and are parameterized using an Excel input datasource. I'm wondering if SOATest has the following capabilities: * Save request and response messages for each test scenario into a separate file, one for request,…
-
How to get the report details - test case pass fail count in a script/extension tool
Need to write a custom report so that the results are reported in the consolidated report dashboard . How to retrieve the values for Parasoft SOA test
-
How to get the report details - test case pass fail count in a script/extension tool
Need to write a custom report so that the results are reported in the consolidated report dashboard . How to retrieve the values for Parasoft SOA test
-
calling web service simply shows Test Failed and nothing in "Response" tab
I am fairly new to SoATest and followed the instructions from tutorials. I am using literal xml with full xml request. When I submit the request, all I see is "Test Failed" in the console and nothing in traffic object--> traffic viewer--> response tab. Similar request works fine in SOAPUI
-
Traffic Viewer does not show the SOAP Response
After successful execution, I see the SOAP Request in the Traffic Viewer but I don't see the corresponding SOAP Response. (SOAtest 9.9 version). For the same SOAP Request, I get the SOAP Response in SOAPSonar tool (We are trying to migrate from SOAPSonar to Parasoft). Can you help me figure out why I don’t see the SOAP…