-
How to restore working directory from GIT
Hi, how are y'all doing? I have a question: while usiing Parsoft 9.10.6 for a workspace having a project containing the master test suite modules and a "runnable" project containing references to the test suites, all very basic still. I use GIT as source management/version control. My working directory (where I initially…
-
Extract REST API Output(Literal) to Databank without External File Usage
Team, I have a REST API which gives output just as a literal and not in JSON/XML output. I wrote into a file and then wrote a Python Script to get into JSON databank. Is there any way to get output in JSON/XML without writing into a file.
-
Announcing Parasoft dotTEST 2022.2
dotTEST (2022.1) is now available! Support for .NET 7 Support for .NET 7 has been added. See Supported Frameworks. Support for C# 11 dotTEST can now analyze code written in C# 11. IDE Integration Support for visualizing code coverage in VSCode dotTEST extension has been added. Setup problems can now be displayed in the…
-
How to extract any value from a response argument and write it to external excel/csv file?
Hi Team, Can you please help how to extract values from the response and write it to an external file excel/csv. for example: if am getting a response like below { "status" : "success", "wonum" : "1234567" } Expectation is to extract "wonum" response value in the external file.
-
Passing External Excel Files Between .tst files being called from Bamboo
Hi, I have 2 .tst files. First, the .tst file will be reading DB and fetching some records which have to be provided as input to the 2nd .tst file. We cannot have these two .tst files merged together as they have to run in some time gap. These .tst files will be executed from the bamboo pipeline. Any reference to local…
-
How to remove warnings from IAR Embedded Workbench
warnings are: Warning[w29]: Parts of segment data are initialized (as in module XYZ), even though it is of type XDATA (and thus not promable) Warning[w29]: Parts of segment ?FILL3 are initialized (as in module ?FILLER_BYTES), even though it is of type XDATA (and thus not promable) Warning[w29]: Parts of segment EEPROM_AN…
-
com.parasoft.traffic.proxy - Bypass Certain URLs
I am using com.parasoft.traffic.proxy on a corporate network so my BAU web proxy is disabled when I am recording. Most traffic records fine, however I am seeing one set of requests where the endpoint is not being reached. Are there args I can pass to the proxy.jar to tell the proxy to bypass certain endpoints?
-
Update/remove default headers using Extension Tool
Is there a way I can remove a default HTTP header being sent by response? for example, removing Content-Length key and value from the response headers.
-
Multiple data sources logging error
I have created a table data source with list of values and other excel databanks parametrized to other fields. Sometime they run fine if we have only one databank. Any special steps to follow to have multiple databanks support the scenario and sub scenario of test suite.
-
ExecutedTestsDetails is empty in report.xml after upgrading
We were using the Parasoft version 10.4.3 and then we upgraded to 2020.2.0 version. After upgrading the report doesn't display anything related to the Executed test Result, When i check the report.xml the ExecutedTestsDetails tag is empty but it is working good in 10.4.3. Other than Test execution details all the other…
-
How to Send GraphQL Queries Using SOAtest
It is possible to use the REST and Messaging Clients in SOAtest to send GraphQL queries. You just need to configure the payload correctly. GraphQL queries resemble JSON a little bit, but they are not in JSON format (meaning you can't build or parse them as JSON). So what you'll want to do is encode the GraphQL query as a…
-
GraphQL Support?
Is additional support for graphql coming to the next release of soatest? Typing out literal requests is quite difficult. I typically use a 3rd party application to construct the requests using the graphql schema and intellisense, and copy pasting what I have constructed into a literal JSON request. Would be nice to have a…
-
GraphQL SDL tips
The SOAtest GraphQL Client has a Form GraphQL view that can be constrained to the fields defined in a GraphQL Schema Definition Language (SDL) document. This simplifies building queries, where the Form GraphQL view is populated with controls to select and configure the available fields, arguments, etc. A GraphQL SDL may be…
-
GraphQL SDL tips
The Virtualize Message Responder has a Form JSON view that can be constrained to the JSON Schema types defined in a service definition document. This simplifies configuring the response, where the Form JSON view is populated with controls to select and configure the available JSON properties, array items, etc. What if you…
-
Bamboo Pipeline calling .TST File - not able to perform DB Query
Dear All, I have .tst file where I use DB tool to Query DB2 Database. While setting up DB tool connectivity, I refer to the db connection properties file and I am able to execute it successfully. As part of Automation, currently Bamboo Pipeline is calling our .tst file and it fails at the DB step. How to give the DB2…
-
Invalid XML input:Content is not allowed in prolog
I am trying to assert some fields from Writable Source in Extension tool using Jython and writing the assertion response to a excel file. When running the script, it gives me error like 'Invalid XML input: Content is not allowed in prolog'. But the Output excel file is written. I have enclosed the test suite information.…
-
Executing .tst file using Command Prompt
I am trying to execute my .tst file from command prompt and I am getting the below error message and need your guidance to resolve this. C:\Program Files\Parasoft\SOAtest & Virtualize\2022.1>soatestcli.exe -config "C:\Users\bharatarun.radhakris\Bharat\Parasoft\MATF" -resource "BatchValidationPrcfd750Regression.tst"…
-
Announcing Parasoft C/C++test 2022.2
We're thrilled to announce the release of C/C++test 2022.2 with new features and enhancements that help teams automate static code analysis and coding standards compliance, increase productivity, and shorten time to market. New features include the support for MISRA C 2012 Amendment 3, which extends the standard with new…
-
Interdependent conditional csv validation in SOAtest
Hi, I have a got a csv report which has fields (e.g. column 5) containing today's timestamp, for rows with only certain values in the first column. The csv client is used to convert it to xml. I have been struggling with xml databank, writable datasource and custom assertion to get this show on the road, but the result is…
-
Unable to login to parabank using valid username and password
Hi, I am unable to login to parabank using valid username and password. Getting the following error: An internal error has occurred and has been logged. Anyone seen this issue?
-
Is there a standard Github Actions for soavirt?
Below is one for CTP https://github.com/marketplace/actions/execute-job We are looking for a similar setup for soavirt
-
Execution is failing for specified -resource (.tst) thru command-line
I've couple of .tst files under my project, say smoke.tst and regression.tst. I just want to run the tests have in smoke.tst so I modified my command-line by adding -resource ${project-path}/ProjectName/FolderName/smoke.tst. But while executing, it's failing stating - ERROR: Missing Resources: The following…
-
Post SOATest Results to Jira using Zephyr
We have a lot existing API Tests using SOATest, now wanted to post execution results to Jira (for further graphical representation) using Zephyr. We have many Tests under Scenarios and many Scenarios under TestSuite, like - I find to post results per Jira Test Id using Test Flow Logic after every Test, but it's weigh…
-
Use two different .tst files for single assertion
Hi Team, We have a scenario in which we have to query the DB just before to Batch Job run and store the results in a data bank. Then after the batch is completed using the previously queried results, we have to check the DB for processed results. Can we write 2 different .tst for these and can we refer to the previous .tst…
-
For a XML response, how can i do a data type assertion validation?
I have started using xml assertions for the response validation. I am looking for sharp answer than generic ones saying try assertions from output. 1) I want to validate data type for the response. ( String or int or text etc) 2) I need to do data length validation 3) i need to validate actual response to the expected…
-
Corrupted responses when running test concurrently within a suite
When turning on the "Tests run concurrently" Execution Mode under Execution Options -> Test Execution, I am seeing corrupted responses. As a result, current assertions or status code validations fail due to the jumbled data. Has anyone else experienced issues with this apparent common setting? Here are a couple of the…
-
How to write DB Response to Internal Spread sheet table ?
My Requirement is to Query table 1 which may return N rows. For Each of the row, I have to query 3 other tables and do some assertions. I wrote the Table 1 response to a CSV file and created a data source out of that and used that as an input to my other 3 tables. But I have been asked now instead of writing to a CSV file,…
-
How to pass Variable to Extension Tool ?
I am using Jython Script for extension tool with an excel databank as Datasource. In addition to this, I need a variable which is defined in the test suite to be passed to the extension tool. Please do let me know how to achieve this?
-
Announcing Parasoft Jtest 2022.2
The latest release of Parasoft Jtest (2022.2) is now available. In this release, we focused on the following areas: Android Support * Support has been added for running static analysis for Gradle Android builds from CI/CD and CLI for Java language. * Experimental support has been added for unit test execution, monitoring…
-
Anyone used MCUXpresso and Parasoft?
My target platform is an NXP 1064, MCUXpressso is an Eclipse based IDE from NXP. It takes the Parasoft Plugin.
-
Execute Different Test Scenarios based on Excel Sheet Value
I have an excel which has a field (Regression/Functional). Based on this field, different Test Scenario tests have to be executed. If R, Execute Test Scenario 1 and If F, execute Test Scenario 2. Is it possible to achieve this?
-
DTP not showing all DAST testing results
I have 2 tst files for DAST testing and I am running them from the cli. The results from the first tst file are showing up in DTP and the results from the 2nd are not. We are using a runbook to call the tests, which is running a batch file for each of the tst. I am using the same exact setup for SOATests API functional…
-
Data Collection Window
Is there any way to increase the size of the Data Collector Diagnostics window?
-
Chrome does not allow this extension to change proxy settings.
I work in an env where browser configuration policy is managed by the company. I get the error shown in the title when I try to enable API Traffic for Parasoft SOAtest. It prevents me from being able to record. I tried the following workaround but it did not work. Is there another way around this? I confirmed that my local…
-
soa doesnt recognise oauth token generated as string
Oauth token is generated in a string format. But the element cannot be captured as a element to be used for the following tests. How to read this token in string format and make it use for following test cases. Any approach to be followed??
-
DB Validation at Row Level
Hi Team, I am reading DB with a query and the results I am storing in an XML data bank. Each Row will have 6 columns and one of which is a status column. I need to check for all rows if status column is a fixed value( say., 'S'). I created tests as enclosed. When i am trying to assert, the assertion doesn't shows the…
-
Date Format Editing
Hi All, I am calling an API which will give me back the mainframe Job details like Run Date, Run time, Status, Job ID etc in an array. I need to take the Date and Time from the very first occurrence. The format I am receiving is YYYY/MM/DD and HH:MM:SS. I am storing these 2 values in a JSON databank. I am creating a JSON…
-
Data Source setup one to multiple values
I have a response that needs to reply back with multiple chunks of xml tags according to the # of party Ids that match the accountNumber provided in the incoming request. So my dataset looks like below: accountNumber,partyId 1,111 1,222 1,333 2,444 2,555 3,666 3,777 3,888 Using Data Source correlation I can make the…
-
SOATest Virtualize : How to create a dynamic response xml to send multiple transactions for account
I created a responder to return a response having multiple transactions. I have a table having data with multiple set of rows with transactions to return. Based on the account number in the request I have to return the transactions in the response. Response is parameterized using the table which i created. But when i…
-
SOAtest Quality Tasks cannot not always show differences
Hi, After running a test in Parasoft SOAtest 2021.x I want to analyse the results and eventually adapt the excepted results of e.g. the Diff Tool (XML mode). Sometimes, when there are (maybe too many) differences, SOAtest does not show the differences anymore, but instead a dialogue (Compare) is shown stating that "There…
-
Variable multiple replacement
I have an XML response with 300 tags that need to be all unique at response side (everytime it is hit all 300 unique). I have tried creating a variable with a Data Generator Tool using the current time hhmmssSSS and replace it accordingly as ${time}001, ${time}002...${time}300 in the response, it works just fine, the…
-
Extract Data from Excel and use that in SQL Query to execute
Hi all, I am using Excel sheet as Input, so I have kept that as Data Source. Each Line in Excel sheet is a Test Case. I have Data in a specific column in the format like this ::: ::: . . ::: I have to extract the Value 1, Value 2. Value n (This Value is the 6th one with separator as :) and then use that to Execute a SQL…
-
Dependency on Previous API Tests
In Our API Test Suite, Test 1 submits a mainframe job and this will give back Job ID, Job Name and Return Code. I am storing that in JSON databank. Based on the Return Code value of Test 1 (If 0), I need to execute Test 2. Please help me how to set this up.
-
Can we introduce wait period between two tests in a test suite ?
We have a test suite with multiple tests. Test 1 calls an API which submits a job in mainframes and doesn't wait till the job gets completed and will give a success condition once the job is submitted. Test 2 reads a file that is created by the submitted job. Sometimes the job might take some time and as Test 2 runs…
-
Server returned HTTP response code: 500 for URL
I tried many ways and still getting the below error. When the same service is called from other internal application, it is getting successful. Any help would be appreciated.
-
SOAtest, Virtualize, and CTP 2022.2 PRODUCT RELEASE ANNOUNCEMENT
Parasoft is pleased to announce the release of SOAtest, Virtualize, and CTP version 2022.2, for API and web application testing as part of our award-winning Continuous Quality platform. This update is available at no cost to customers on an active subscription or maintenance contract. Parasoft SOAtest automates thorough…
-
SOAtest, Virtualize, and CTP 2022.2 PRODUCT RELEASE ANNOUNCEMENT
Parasoft is pleased to announce the release of SOAtest, Virtualize, and CTP version 2022.2, for API and web application testing as part of our award-winning Continuous Quality platform. This update is available at no cost to customers on an active subscription or maintenance contract. Parasoft SOAtest automates thorough…
-
SOAtest, Virtualize, and CTP 2022.2 PRODUCT RELEASE ANNOUNCEMENT
Parasoft is pleased to announce the release of SOAtest, Virtualize, and CTP version 2022.2, for API and web application testing as part of our award-winning Continuous Quality platform. This update is available at no cost to customers on an active subscription or maintenance contract. Parasoft SOAtest automates thorough…
-
cpptestcli -input cpptest.bdf : Bypass desktop open
Hello, I created bdf from Makefile and ran cpptestcli. I'm running this from an ssh console connected to a virtual Centos 7.2 host. All I need is a report. But for some reason, cpptestcli is trying to open a display and fails. Can you please advise ? Thank you, Zvika
-
How to resolve unnamed structures/unions are undefined when running unit tests?
I have something like this in my header file which is included to project. extern struct{ uint32_t a; uint16_t b; } ex_var; ex_var is used in the functions which I am trying to test. When I am trying to run unit tests using Built In configuration I receive: undefined reference to `ex_var' In stub view I can find this…