-
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…
-
Trying to access a Selenic Junit test from SOATest
I posed this question before and while I apparently got it to work, I have since lost all of the source code for the Junit test and SOATest. So, my apologies. Anyway, I have a simple Junit test of a web app. This test will search on a entered identifier number and then display some information that was found. This runs…
-
How can we generate a .properties file in desired location?
Using: Eclipse with parasoft plugin. I am using Data source as input for my test suite (test cases), while adding data source to test suite level a .properties file gets generated. Issue I am facing is: to generated Test Suite I am using a external folder which was initially not inside the project scope, I have added the…
-
Why trying to build runtime library in uVision (Keil) IDE fails?
Hi, I am trying to build the runtime library project provided by Parasoft for Vision Keil IDE. I chose a different MCU than the original one set in the project. I chose cypress CYBLE-224110-00. When I try to compile there are compilation errors that result from missing definitions for UART2 etc which I will fix. But the…
-
Can virtualization response respond back a PDF document
Hi i have a requirement to configure a responder for response content-type = application/octet-stream and response body is the PDF binary. Looking for inputs where i can develop the responder to respond back a PDF document i.e. response status code = 200 Which is application/octet-stream, i.e. binary PDF
-
How parasoft calculates Code Complexity ?
What is the math behind complexity calculation ? Does Parasoft consider Macro Expansion while calculating overall code complexity ?
-
How to run SQL with a variable
I am trying to insert a record into our DB2 database and one of the columns contains a CLOB so to pick up the text file it is included as a variable (for example, ${data1-10||C:\workspace\DownloadFiles\EXPORT_DATA\dbvis-9421411203761954562.txt||TextData||noshow vl=file}$) which was exported from DBVisualizer. Currently,…
-
How to setup the Catch-All SOAP option to be a pass through?
I have a responder that has Multiple Responses selected and it is currently working fine when it finds a match to the text of an element. However I need to be able to configure the responder to pass any unmatch requests through to the actual end point. Any thoughts???
-
Test execution: error preparing instrumentation / symbols data for file upon including glib header
**Test execution: error preparing instrumentation / symbols data for file. "/usr/include/glib-2.0/glib/gspawn.h", line 76: error: expected a "}" G_SPAWN_ERROR_2BIG __attribute__((__deprecated__("Use '" "G_SPAWN_ERROR_TOO_BIG" "' instead"))) = G_SPAWN_ERROR_TOO_BIG, ^* Test execution of my code fails in parasoft tool…
-
Message Proxy Not Recording Traffic
Virtualize Version: 2021.1 Proxy Type: HTTP I am trying to record the traffic off a message proxy I have setup, but even though I can "start recording", then run my test ( I see the request and response in the Event Details view) and then stop recording nothing shows up under either the Virtual Assests -> recorded traffic…
-
Need assistance with setting up a Responder Correlation for SOAP messages.
For some reason I can't figure out why my responder isn't returning the message that I am expecting it to. I am really new at this and I am pretty sure it's a simple setup issue. Here is what I have so far. * I have a message proxy setup on port 9080 and if I monitor and record I see the traffic coming from my test. I have…
-
Insure++ 2022.1 Release Announcement
What's New * Documentation updates. We've clarified some documentation issues, and added new documentation for some new features * CWE Associations. Insure++ bug reports are now associated with appropriate CWEs. (see cwe.mitre.org for more information about CWEs) * Bug fixes. As always, we are continually improving…
-
Insure++ does not support managed C++!
I have a C++ project that will only build for Insure++ with /CLR (common language runtime support switched on) However when this compiles the output states "Insure++ does not support managed C++! I cannot get the project to build unless /CLR is selected however, it will build when /CLR is not selected when building for…
-
There is no Run Tests button in the toolbar after installing Parasoft C/C++ Test
There is no Run Tests button in the toolbar after installing Parasoft C/C++ Test. Is there anything wrong during installation? Any hints? Thanks in advance.
-
Kernel Modules Unit Testing
Hello, I want to compile kernel code and unit test with Parasoft tool Please tell me how can i generate bdf and perform testing with parasoft tool I am using the below version of the tool: 1. Products: C/C++test 2. Platform: Linux 3. Version: 2021.2.1 4. Installer: C/C++test Professional for Linux x64(standalone) If i…
-
Unit Testing Loadable Kernel Module
I just wrote my first character device and wanted to write some unit test for it using parasoft c++test. I know how to use parasoft for my regular user c code but being searching the net and can't find any example for creating unit tests, stubs, etc for this kernel module that i have. Is it even possible in parasoft? can…
-
How to write generated data to a file
Hi Everyone, We are using data generator tool to generate random values, could anyone please help how to extract / write those generated values to a file. Thanks in advance..
-
FTP Virtualize
Hi Everyone, We are trying to generate a .csv file and transfer a file to the target location (SFTP) on daily scheduled time using SOA test. * How to generate a .csv file with different random values with at least 10 rows. for ex: BOFSTXXXXS , julian_date , curr_date , WM003 2459816190742,11192897,3503217,EA * Once it is…
-
Query Parameter Correlation
I created a pva from recorded traffic based off of URL path (host:port/path/. I looped thru multiple parameters to create the traffic. The responder only works on 1 parameter. I want two things to happen. 1. I want to be able to iterate thru multiple parameters (without having a 1:1 responder) and 2. I would like to create…
-
Reading Parquet Files
Is it possible to read parquet files using SOA Test.
-
"No Projects Found" when trying to import IAR project to parasoft C/C++test
Hi, I am trying to import an IAR project into parasoft according to the instructions written here: https://docs.parasoft.com/display/CPPDESKE1033/Importing+Projects+with+IAR+Embedded+Workbench+Support I enter the path and click refresh and no project is found. I even tried selecting in the path the actual project files…
-
XML data bank not retaining information enter in the Literal tab
I have an XML data bank that I'm trying to use and unfortunately the information that was entered in the Literal section needs updating but when I copy/paste new XML in that section then go to the Tree view it's not saving the new xml I've put in the Literal tab. Has anyone experienced this or know of a work around? I've…
-
Parasoft C/C++ Test error: expected an identifier extern "C" {
When I tried to run unit test for a simple main program in C++: #include <iostream>int main(){ std::cout << "hello world" << std::endl; return 0;} it occurred the following problem: C++test analysis errors in /Demo_aCpp 1. Test execution: error preparing instrumentation / symbols data for…
-
reading data from Bitbucket
for one of the scenario I want to read a JSON file from bitbucket, based on scenario i'll pass the file name and that file will be available in bitbucket repo, how to read that file from bitbucket using parasoft virtualise
-
how to compare 2 XML files
Both XMS are request and can be fetched from database as well. I want to compare these 2 in SOA test
-
Write to output file from XML transformer into different worksheets under same workbook in EXCEL?
Example: "12345" is the answer from a XML transformer of a field called "ABC". Now I want this ABC field to be written into CSV file using "write tool" feature. Its writing , but instead of saving it as different csv files , every time I run it has to either go to next row in the same excel [ basically appending] or write…
-
How to switch between licenses that are on a DTP server?
Hi, I have Parasoft C/C++ test Professional version 2021.1.0 (10.5.1.20210505B1390) I also have DTP server installed on a local network server. On the DTP server we have two client licenses each with access to different features. Basically, the first license is for unit tests and the second license is for static analysis.…
-
Import Postman Collections to SOAtest
Hi Everyone! I am pleased to inform you that we have created a tool that will allow users to convert Postman Collections for use in SOAtest. This tool is to be used to move much of the information contained in the Postman tool to be used in SOAtest. Using this, you will be able to bring over connection information (URL),…
-
post JSON to Micorservice using virtual assets
I have a Micro service up and running i want to post my JSON file to that micro service using parasoft virtualise, could you please help me, i was thinking i should use message proxy but I got lost somewhere
-
Accessing Data Bank Values in Groovy Script
I have an extension tool test in my scenario that calls a Windows command file (.bat). This is a very simple command that returns the userid of the person logged into the computer. This is put into a databank that I want to pass into the Groovy script to build the file path for a PDF file the web application creates and…
-
Multiple proxy connections
Hi Parasoft Team, I just have a quick question for y'all today. If you define multiple connections in a single proxy, will they be routed in order? Example incoming paths: 1) /proxy/search/results -> asset 2) /proxy/search/article -> asset 3) /proxy/search -> forward to live In this case, I want to make sure that anything…
-
Parasoft C/C++Test 9.4 , error: invalid type conversion
When I used Parasoft c/c++test9.4 with Cygwin gcc11.3 to run unit test, there is such a problem: C++test analysis errors in /example_debug 1. Test execution: error preparing instrumentation / symbols data for file."/usr/lib/gcc/x86_64-pc-cygwin/11/include/mmintrin.h", line 79: error: invalid type conversion return (__m64)…
-
How to activate community edition license on linux/Ubuntu?
hi, i am new here and just start to learn I have install parasoft community edition on Ubuntu 18.04 cat localsettings.properties - soatest.license.use_network=false cat license license.autoconf.timeout=20 license.network.auth.enabled=false license.network.use.specified.server=false license.pref.autoconf=false…
-
Git merges for compressed xml files
We are looking to try and implement git support within parasoft, but given that tst files are typically compressed xmls, due to their size, we are curious if the push/pulls address the compressing to account for the diff between files or if the update is an overwrite? Git setup for parasoft -…