-
/v6/virtualAssets/{id}/activePerformanceProfiles Usage
Can you provide an example of enabling delays in responders via SOAVIRT API. Especially a complete example including /v6/virtualAssets/{id}/activePerformanceProfiles. Thanks JT
-
Saving HTTP Response Code
Hi Parasoft, I am trying to figure out how to save response HTTP code (200, 500) and added a Header Data Bank output item, but I do see anything that looks it would be for the header code. . Here is what is returned: HTTP/1.1 200 Content-Type: application/json;charset=UTF-8 Date: Thu, 01 Nov 2018 16:22:46 GMT Vary:…
-
SOATest runtime error 'No browser set' even though it appears to be
Hi! I am setting up SOATest (2021.2) on Windows Server 2019 replacing the Windows Server 2012. I have a number of tests that run in a browser. On the old server and on my laptop, the tests run like they should using Microsoft Edge browser. The test are unchanged on the new server but when I try to run them, I get the below…
-
How to verify content of Response Header contains a given string
I have a REST API call that returns the following in the Response Header: Content-Disposition: attachment; filename=cmdownloads.zip I need to verify that the filename is "cmdownloads.zip" (in this case). I captured the Header in a Header Bank but am unsure what to do next. I have tried converting it to XML and think I…
-
Need assistance accessing a Java Class
I could use some guidance on how to access a Java method within SOATest. I have built a pretty basic class to get LocalDate, add days, subtract days and return the Epoch date. When I select "script" for the element I select Java and put in the full path to the class. The methods appear but I can not figure out how I can…
-
Virtualize Setup
I have completed our POC for Virtualize and have management on board with getting it setup and going. As I wait for the resources from IT to get a new environment stood up I am hoping to gather some best practices from the community that will help with having a smooth setup and transition to using it. Are there any…
-
Unable to configure MongoDB Query Tool in Parasoft SOA Test & Virtualize 9.10
Hello, per Parasoft guidelines I tried adding MongoDB Query tool jar to my Parasoft SOA Test & Virtualize 9.10 version. When I click on Add Jars button of System properties section, I see only mongo-java-driver under org.mongodb and didn't find mongo db Query Tool in available jars list. Any thoughts?
-
where we can find user guide for Parasoft virtualize
Hi Team, Please suggest where we can find user guide for Parasoft virtualize
-
C/C++ Test Desktop: Set the ruleset inside project.properties
I'm using C/C++ Test Professional 2022.1 (Eclipse). Is there a possibility to set the ruleset inside the project.properties and execute the tests from the GUI without having to select a ruleset every time? We want to make sure that the same ruleset is always used.
-
Does Parasoft have an application for Test Management? If not what apps do clients use?
I know CTP enables continuous testing and provides test database configuration, otherwise not real familiar with that product. On the database matter, I don't think that works well for my company because there are key dependencies within the product tested and outside that are subject to change from one release to the…
-
Test unitaire en c
Bonjour s’il vous plaît je suis débutante en c et j’aimerais apprendre à ecrire des programmes test
-
How to validate uniqueness of a field value in the JSON response.
Hello everyone, Can someone help me how to validate a field, if the value returned in response in unique and contains no duplication. E,g: In below JSON, id field occurs multiple times, I want to validate "id" is unique and it's not duplicated in the JSON response. { "merchantCategories": [{ "id": "0001", "description":…
-
I am tyring to access the results of SOA test from SOA API. I am getting the following 403 error.
HttpGET http://localhost:9080/soavirt/api/v6/status/health Response: Error: Forbidden { "message": "Access forbidden, server does not have appropriate license feature enabled. Both [Virtualize - Service Enabled] and [SOAtest - Server API Enabled] are needed.", "moreInfoUrl": "http://localhost:9080/soavirt/api", "status":…
-
How to solve the "Test execution: error precompiling file" problem?
I am using visual studio plugin for unit test generation and cannot execute test. It identifies some test files and drop "Test execution: error precompiling file" error message. Attaching the screenshots of test explorer. Generated test file also throws the error "fuction is inaccessible". I would be very grateful if…
-
Blank Spaces in Path in Linux Machine
Hi, I am using Windows Machine for our development work and ultimate deployment is with a Linux Machine. In my .tst file, I have below steps configured. 1) Get Project Location using absolutefilepath() 2) Execute a DB query and I am storing the results of query to XML Converter for converting them to CSV. Then I am taking…
-
WARNING: invalid compiler option -E (ignored)
How do i resolve this issue? All the files in my current execution are being skipped. [ERROR] Code Analysis for .c finished with code 1 (ipro) 1. >> WARNING: invalid compiler option -E (ignored) error: argument to option -x (#) is out of range Error preprocessing file ".c": Process exited with code: 1 Could not preprocess…
-
/soavirt/api/v5/testExecutions - Example Request Payload
Can you share an example rest payload for /soavirt/api/v5/testExecutions
-
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?