-
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…
-
which version of JSON schema is supported
which version of JSON schema is supported
-
How to read JSON response with JYTHON script.
Hello, I am trying to read JSON response via JYTHON script. h def assertresponse(input, context): value = String(input) #value = input.scannedDate() Application.showMessage(value) The above script will read complete response. 1)I want to know how I can read individual field in response and load the value into a variable.…
-
Parameterization of SOAtest Tests
Hi, I am new to SOA Testing as well as the SOATest tool and hence may be asking a basic question but needed immediate help.I have to run a bunch of tests which are xmls being sent over http.The tool that I am using within SOA Test is 'Messaging Service' which would sent and receive pure xmls. Now , is there a process…
-
Workspace and project path from script
I need to access files saved to my workspace from Groovy script. How can I get the path to my workspace and project?
-
Copying files and directories in test setup
I'm a complete dummy in Java. I have service for which I need to setup a file directory structure in the test setup. I thought of using Groovy scripts to copy the files rather than creating batch files. It seems to be an easy task with Apache FileUtils but I can’t figure out how to use it in my Extension script. I tried to…
-
How to get and set environment variables
Hi, I'm new to SOATest and finding it very difficult to get started. Please could someone help me get and set environment variables using Javascript. Thanks
-
SOAtest 9.0---> WIN32COM.CLIENT
No module found for WIN32COM ERRORHi all, I am currently writing a Jython code where i am needing WINCOM32 Extensible Package .I am dispatching Excel using this. from win32com.client import Dispatch But when i am running the code , it says the above WIN32COM module is not found. Solution we used but not Successfull: We…
-
Help in loading JAVA classes
Hi, I had written a code to apply XSLt on a given XML to convert it to HTML format, in JAVA window of Parasoft Soatest. Then I added the extention tool to one of my teststep in SAOtest window. I chose the scripting language as JAVA, I mentioned the class and added the class path to system properties tab but I was unable to…
-
Jython - ImportError: No module named base64
I am trying to use Jython script but I get this error " ImportError: No module named base64". How do I fix it in Parasoft? Thanks!
-
Reference the project location in Extension Tool
Hi, I would like to get the SOAtest Project Location in an Extension Tool so that I can reference this location to open a file on the system.
-
How to change data source values in xml-request before sending?
In SOATest I have a SOAP-test that takes its values from a data source (an Excel-file). How can I change specific values in the request based on values from the data source? Example: The field "CustomerID" needs to have either a random UUID-value or a specific UUID-value. In the Excel-file the field value is set to "Auto"…
-
How to encode a string to base64
I have a POST request with a string in a body which should be in base64 format. Is it possible to do it from Parasoft? Thanks!
-
I am getting the response which is same as request in traffic viewer after running atest
Hi I am running one booking service . Request is passing through parasoft , but surprisingly after running in the response section it showing the request sent . Can you please help me
-
Weird issue with SOATest data source: closing on save
I have a data source tab in the SOATest project. I have 2 lines in it. Now I want to add a new line to the data source. So I open data source edit and add new line. When I click save, it closes the data source tab. and then I cant find it in the test case explorer, I have to restart the SOATest. and still the new data is…
-
Loop through files in a directory with POST http request for each file
I have the following scenario I need to write automation with SOAtest: I have an http POST request with an image in the body of that request and I have a directory with 1000+ files. I need to run POST request with an image in the body for each file in that directory. Please help. Thanks, Irina
-
Validate response against input file which contians data sets for a column
Need to validate the REST API output with an input Excel file where it has few columns and one column is a data set itself. Ex: COL1, COL2, COL3 ABC, XYZ, DFGH, JKJ FDS, ADS
-
Value or xml assertion on response message containing escaped XML
Hello, I am testing a web service where the response looks like the following: Within the element XMLOutput is well-formed XML in escaped character format. I would like to do XML Assertion on the escaped XML, but I am unable to because XPATH does not work on escaped XML. The question is: how can I perform XML assertion on…