-
SOAtest, Virtualize, CTP 2023.2 Product Release Announcement
We're pleased to present the newest version of Parasoft SOAtest, Virtualize, and CTP, focused on enhancing your software quality practices with efficient and reliable test automation. This release introduces seamless integrations with OpenAI and Azure OpenAI LLM providers, enabling effortless generation of API tests from…
-
How to parameterize the "Variable Condition" field in the "TestFlowLogic" of "Execution Options" tab
I want to parameterize the Variable Condition field present inside Scenario >> Execution Options >> Test Flow Logic >> Variable Condition. I want to take the value from "Environments" or "Data Sources". The traditional way of specifying "${some_variablename}" is NOT working
-
Increase integer range in SOATest
While performing JSON Schema Validation in the SOATest tool through "JSON Validator" feature, I am encountering the following error: com.fasterxml.jackson.databind.node.jsonNodefactory.numberNode(Ljava/math/BigInteger;)Lcom/fasterxml/jackson/databind/node/NumericNode; In the root cause analysis, I found that in the JSON…
-
How to convert a test into spring boot project?
I need to integrate parasoft test suites into spring boot project. How do i do that?
-
How to integrate groovy scripts in parasoft.
I have groovy scrips in my soap ui test suite . How do i integrate those scripts in parasoft?
-
How to know if an existing service in parasoft is a Rest Api or not?
How can we get from service if the service is rest api or not.
-
Mismatching SQL result and written data in writable table
I have the SQL result (left) from DB test tool, and it's shown correctly when I check the Traffic viewer. However, if I check the writable datasource I passed the values from SQL result to, I see the values are stored incorrectly - It seems when a value does not exist for a row, its value doesn't get refreshed/reset with…
-
How to bypass the default validation on value type
I'm testing an API passing a string value(e.g. "ABC") to a numeric field. The input value is sent from an excel file. If I run the test, the transaction does not happen, and I get error message that says something like "ABC" is not a numeric value. My test node is using Input Mode: Form JSON, but it doesn't need to be this…
-
Obtain the REST URL to execute a Job from Test Scenarios
The API Testing Module in CTP allows users to execute automated tests as a Job. From the Docs: Automated provisioning during testing: You can configure a test job that you want to execute one or more times, then associate an environment context with that test scenario so that the appropriate environment is always…
-
How to use a runtime parameter in groovy
I am using a groovy script in which I want a to enter a parameter in the method at the runtime. For e.g. : def userId(String input) { //my method } How can I derive the input variable while I try to run the API test case
-
LOG Validation
Hi All, I wanted to capture and validate the downstream calls(logs) when i hit an api request. Can you please tell me how we can track and view all these downstream calls and if possible also how we can track and validate them
-
CTP : Mapping Javascript methods to xml field in CTP
I have tst file loaded to CTP. All the test scripts have a field which is linked to a javascript file to get unique value. However, when i ran the tst in CTP, scripts are failing because javascript file is missing. I have added javascript file to CTP, but now am not sure how do I call / map the methods to test scripts in…
-
What's the different between SOATest & NewRelic Synthetic?
I know SOATest is more toward API-driven applications. However, you can use NR Synthetic to do the same in some use cases. What's the performance and benefit from one vs. another? I appreciate any feedback here. -Simon
-
Running a specified action/test after a test case
I would like to know if there is a way to do an action after a test case is done. Here's my scenario: I would like to create a lot of tests for HTTP POST, which updates records. After a test case is done, I would like to revert back the values of my record using another API call, and use it for another test, or use it for…
-
I need to perform bulk deployment of stubs in parasoft virtualise
Bulk deployment of stubs need to be done in parasoft virtualise , presently i am deploying each stub individually which is taking too much time. So is there any method in parasoft virtualise so that i can deploy all my stubs at once on my server.
-
Extract name of the data source with ScriptingContext
Hi, Im using the ScriptingContext in Parasoft SOATEST to build my request. I wanted to know how to extract the datasource **name ** in my script. The datasource type is an Excel file and Im using Java and need the name /path of the datasource. Appreciate the help. Thanks.
-
How to validate element value with group of elements?
I am getting rest service response in below format but i want to validate element value with my predefined data sources 1 Developer 5 Tester 7 Admin i have data source which have all roles allowed in my list ( Developer,Tester) now i want to validate all the roles from response against with my data source using parasoft…
-
Not able to pick a user defined environment when run from Jenkins and pick the project from Git
i am trying to pull .tst file along with .parasoft and .project file from Git and executing by putting all 3 files in one workspace. for this .tst file i have created 2 user defined environments which i will specifying in jenkins as a parameter. some how i am not able to run the .tst file and test fails with below error.…
-
Run .Tst file from Java
Hi, Could you please help me to run .tst file from java and capture result.
-
Parasoft CLI Issue
while running my project through CLI getting this error. ERROR: : An instance of Eclipse seems to be already running in the selected workspace. Please shut it down and try again. I have closed the GUI Instance before running via CLI. Even I have restarted my machine but same issue.
-
Anyone providing Parasoft SOA Test online training?
Hello All, I am looking for a Parasoft online trainer urgently. If anyone is interested please let me know. Thanks, Arindam. Email : arindam.itsme@gmail.com arindam dot itsme at gmail.com
-
JSON assertion validation for status code 200.
My script reads test data from excel which also has a status code( expected result) column in it. Scripts fetches data from excel and compares it with status code to validate. Since output of my API is generated in JSON format, I am using JSON asserter to validate status code. The problem that I am facing is for a scenario…
-
SOATEST - Create customized report for a test result.
How to create customized test result report in SOATest? The default report format which is available on in SOAtest is not enough. we want to add / remove few column to it. Help will be greatly appreciated.
-
Commas in the parasoft API URL
Hi There My question is- Does comma is accepted in the API URL in Parasoft 9.10 ? Postman works for certain URL when passed with comma but when the same URL passed in Parasoft , it returns Bad request When I am passing this orderBy=companyCd,asc&orderBy=fundCd,desc&page=1&pageSize=10 I see in the Transport the request…
-
Combine two fields of SOAP response to One
I would like to combine two fields values of same SOAP response into One. So that I can assert the One filed of SOAP to REST response field. SOAP Response: Field 1 = date Field 2 = Time Combine SOAP field (1 &2) to Field 3. Assert SOAP Field 3 to REST response field. How should I do this?
-
Poll API or DB for status change
* In one of the test case we wait for Db column “STATUSID” to change its value from 800 to 900 and it takes a little while to get the changed value, so how can we poll the db for the changes? * Also we have restful api which returns response with the same “STATUSID” is it also possible to poll api until we get the changed…
-
JSON REST API: Validate multiple responses against a DataSource
Hi All, I am trying to validate the JSON response against an Excel sheet for each INPUT value passed. I am using the JSON assertor and for each attribute have assigned the corresponding column name of the Excel. But, for the attributes where it is a ARRAY/LIST or TABLE of values it is failed saying no value found. SAMPLE…
-
how to preview HTML response using parasoft SOA test 9.9
When I try to Execute GET Call using PostMan, I am getting successful response and I can see HTML page content in response. where as when I use the same GET Call url in parasoft via REST Client , I am getting http:307 and header has a redirect url. * can someone help me understand why the behavior is different in Parasoft…
-
How to generate Report in CTP for any Job headlessly??
Requirement: Generate Report for any job in CTP without interacting CTP portal. Is there any REST API or URL to generate the report & to send out to different emails. I am looking this in CTP using headless concept.
-
Compare a set of elements of the JSON response to the standard set of elements
I have a JSON reponse with 152 currency codes fields. I need to compare the whole set of currency codes in the response with the standard set of codes. The issue is the currency codes in the JSON response are dynamic and they do not have a order, if they would have I would have added a string comparison and mapped to my…
-
Retrieval date format
Is there a way to validate the retrieval date format: yyyy-MM-dd'T'HH:mm:ssZ – Ex. 2017-06-26T01:00:
-
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?
-
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.
-
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
-
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
-
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…
-
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