-
Not able to send Environment Variables in External Tool arguments
I am setting up an external tool to execute some batch files, but rather than hardcoding a path, everyone has an environment variable setup to the desired location. However, when I use the %variableName% structure which the external tool understands, Parasoft disables the tool for some reason. Is there a setting to allow…
-
Scripting Issue: Trying to get value in adjacent cell in Table Data Source
I have a script which is using a table data source within Virtualize. In that table there are two columns, num and ID. The value of num is extracted from the request via XML databank and is stored as a variable in the responder suite, titled key. Key = num I have another variable that stored the ID value in a variable…
-
rabbit mq listener in parasoft Virtualise
Hi i am new to parasoft Virtualise , wanted to understand how to configure rabbit mq listener do we need to configure any external jar and write java code for listener in parasoft Virtualise for getting queue details
-
How to validate Date format in request field
I have to validate that a field in request of a Rest API is having YYYY-MM-DDThh:mm:ss.sssZ format. Any help is most welcome. TIA
-
How to validate date format in request attribute
I have to validate that a field in request of a Rest API is having YYYY-MM-DDThh:mm:ss.sssZ format. Any help is most welcome. TIA
-
Want to also use Microsoft Edge, Firefox for Browser Playback in SOATest 9.10
I have been trying to set up my tests to run playback in the browsers Internet Explorer, Edge, Firefox, and Chrome. Internet Explorer runs out of the box (although rather slowly), and I copied the webdriver for Chrome to the folder…
-
Xml json request type in Virtualize
Hi i am new to Virtualise , how to handle request type as either xml or json using one message responder in Parasoft Virtualise . what should i set so that message responder can recognise request type as xml or json both kind of request types in single responder
-
how to configure json response in Virtulaise for x-www-form-urlencoded request from SOAtest
Hi i have x-www-form-urlencoded request setup in parasoft soatest , wanted to understand how to develop json response in parasoft virtualise since expected response type for the request is json.This will be a unique integration as request and response types are different in the same call. The request is…
-
Connecting to Mysql DB in GCP
Hello, I'm working with SOAtest 9.10.4. I'm having hard time to connect to our MySQL DB that is located in GCP. I'm looked though the forum and couldnt find anything that could help me out. the error messing that I'm getting is: Communications link failure The last packet sent successfully to the server was 0 milliseconds…
-
how can i run unit test on xillinx SDk ?
hi , i want to generate and run unit test on a target based on Zynq 7000 chip(Zybo) with xillinx SDk tools. I know that this platform is not supported by parasoft c++ test by default, but i want to know how i can do it.please hep me. thanks a lot.
-
in response (or anywhere) - see values that were asserted
Hi, is there any way to see, what values are being checked in "XML Assertor". My Scenario: In my testcase i have put a XML Assertor where i am comparing values that I am gettign FROM DB and other service. I am not seeing anywhere which values were compared/checked in XML assertion. Thanks
-
Custom compiler with cpptestcli
Is there a way to specify the custom compilers path when using cpptestcli from version 10.4.2 of the professional edition? I've tried setting the value in the Parasoft/Configurations screen and then exporting the localsettings with Configurations selected, but no values are exported. We would prefer to not have to manually…
-
SOATest -After posting message through MQ , body of the content alone displayed as Encryptedvalue
After Posting the XML Message through MQ in one Queue. Message body alone displayed as Encrypted value. Need to know is there any option to update the configuration to get the same message in Destination also.
-
How do I create a custom static analysis rule to check that a variable is of a certain data type?
More specifically, how do I check that the variable in an if condition is of a pointer type, when the variable is a pointer dereference? I have tried "left hand side:variable" > "filter:pointer", "left hand side:variable" > "type:pointer" and "left hand side:pointer", and none of them works. This rule wizard is proving to…
-
How to add java project to classpath
Hi, I'm new to Parasoft and while exploring it i encountered the below line in [Extensibility and Scripting basics] : If your Java class is from a Java project in your Eclipse workspace, add the Java project to the classpath. Can anyone tell me how to add java project to classpath. And also when i select 'Scripted' option…
-
Groovy Scritping not allowed in Community Edition ?
Hello, While creating a response for a request in virtualiser , I saw an scripting and when clicked bydefault groovy language was selected and an editor appeared on my screen.But I couldn't type anything there ,is this feature only for paid license?If not then any tutorial on the correct approach to use it.
-
How to create a Custom Response using Scripting option in Parasoft?
Hi , I am new to Parasoft. I want knowledge on how to create a "Custome Response" using Scripting. I see the tool is having an option "Scripted" in the Response Tab--> Input Mode to generate a Response by writing code using Java or a Groovy or some other language mentioned. If someone can provide me a small example or a…
-
Any video related to how to use java code to read incoming request
Hello, Is there any video related to how to use a java code to read incoming request and produce a response according to it?
-
Different Protocol's in the same TestSuite
Hello All Tried, Http Protocol & WebSphere MQ(Posting a messaging to a Queue), in the same TestSuite and it does not work.
-
How to store array to writable data source using Extension tool
I know if I have to retrieve a column from datasource I can do like this ArrayList list = context.getValues("data","C"); but what to do if I want to store array into the writable datasource from extension tool script
-
Is there any option to use both the https and MQ Transport in Same Test suite with the SSL
Kindly let us know if there is any possibility to use both the https and MQ Transport test cases in same test suite
-
Running SOATest Web Scenarios on Windows Server 2012 R2.
I have a small web application that I created a number of SOATest web scenarios to do some regression testing. We are using SOATest as part of our automated build process for our IBM Message Broker systems and are looking to at expanding SOATest to our web applications. The issue I am having is that the web scenarios don't…
-
Select a link in a search results table based on a formatted value in the row.
I have a web app that will display a list of records after a search. I need the test to look at the first column of each row in the returned results. The rows of data are coming from two places and so the first column of each row will have slightly different formats based on the source of the data. If the cell in a row…
-
How do I create a custom static analysis rule to count the number of pre-compilation directives?
Hi, how do I create a custom rule to count the total number of pre-compilation directives in my entire software using the Rule Wizard? I had spent an entire day attempting only to fail.
-
Conditionally extract json response using Extension tool
I want to extract content for all titles having Red color from given Json response so I can send it in next Request. eg. response:- { "titles":[ { "name": "T1", "color": "Red" }, { "name": "T2", "color": "Green" }, { "name": "T2", "color": "Red" } ], "content":[ "T1": "Some description 1", "T2": "Some description 2", "T3":…
-
Detail list of SOA Test Steps and possibly assertors
Is the a script or export method that can show the individual test steps (tree list or such) along with assertors? We are looking to be able to pass our API test info to our manual or front end automation testers, so they are not duplicating our work, but also to be able for them to see what possible gaps we may have from…
-
Dynamic Scripted URL from datasource
In SOAtest9.9 How do I script the URL/endpoint to create REST endpoint dynamically by concatenating values from writable datasource columns. The test should be able to run post request for each data row.
-
Binding error
Receiving "Make sure the binding is configured with the same version as the expected messages.The envelope version of the incoming message does not match that of the encoder" error when I point the service to virtual asset. Is there any configuration setting that needs to be done ?
-
Need to use the multi dimensional array in SOATest
In excel Data Source we have a Column X it is having the values 1~2~3~4 like this. IF we want to pass these 4 values in same node with multiple times in same iteration how we can do the parameterization using parasoft. Kindly let me know if we have any option for this one.
-
Extract values from SOA Test to a spreadsheet
How do I extract the results/values from SOA Test to an excel spreadsheet AUTOMATICALLY
-
Bitfield not compliance with MISRA 2012
Hello, I try to wrote this struct : struct toto { _Bool TEST : 1; }; But Cpptest tell me that TEST should be a int signed or not following Rule 6.1. But Misra tell us that it is allowed to use _Bool. So what's wrong ? Thx.
-
Announcing Parasoft Selenic 2020.1
Key capabilities introduced in Selenic 2020.1: Parasoft Selenic expands support of industry-standard Java-based UI testing technology including JUnit 5, IntelliJ, and Applitools. Additionally, it now includes support for requirements traceability and performance benchmarking. Support for JUnit 5 * Selenic offers full…
-
Virtualize: Multiple Responder stub: Configure failover
Hi, Currently I am involved in creating a static stub using Multiple Responders in Parasoft Virtualize. I wonder how I can configure a failover mechanism for sending a dedicated response message when the correlation settings do not match (e.g. a 404 fault). It is just like sending the default message in SOAPUI, when search…
-
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…
-
Mass updates to test steps and suites - possible?
Is it possible to apply mass updates to a tst in SoaTest? We are moving from http 1.0 to http 1.1, and adding additional info in our request headers along with removing basic auth. Due to the large number of tests (1 to 19) and test suites (0 to 12) in our tst files, it would be nice to update a grouping within a tst, all…
-
Limiting and Rolling Virtualize Logs
This forum post will go over the process for creating, limiting, and rolling logs for the Virtualize WAR installation. The purpose of these changes is to avoid the issue of running out of HDD space. Sections: 1. Configuring a Virtualize logging configuration file with file output 2. Configuring a Virtualize logging…
-
ISSUE: header values translating variables in part.
I recently have run into the following issue where I set a variable in a pre-req (previous) call and then use the value in the header of subsequent calls. Lately, it appears as though 1 value is translated in a header, but the second value is not. initial header with variables: Cookie: authcookie=authorized;…
-
How to debug Extension tool and check the logs
I have a simple goovy method in Extension tool that I want to debug and see the output. When I click on Evaluate button I do not see anything happening. When I run this test it simply fails with following message in Console. Test 2: Extension Tool - failure Test failed I tried to put println statements but nothing gets…
-
Number of TestCases in a TestSuite dynamically
Is there a Parasoft API that can retrieve or obtain the number of Testcases, dynamically, given the tst file.
-
Testsuitename dynamically
Hello All Is there a way, one could retrieve the testSuiteName, thru a variable, dynamically, which can be leveraged in all the scripts for logging purpose. Anon
-
How can we generate two different extent report while doing cross browser parallel execution
How can we generate two different extent report while doing cross browser parallel execution
-
Parasoft virtualize groovy scripting example to read the json element
I am using multiple responses in JSON responder where the response is mapped one to one. Now I am in need of dynamic value in response like timestamp, value based on the random number and etc. It is should be based on input values. I tried varies example to get input string values in Groovy scripts without much success Ex:…
-
Parasoft plugin 10.4.3 for visual studio skips all files
I was using 10.4.1 previously and had no issue with running static analysis. However, once I updated to 10.4.3, all the tests skips all the files, checking 0/0 files. Is there some incompatibility between the 2 versions or is there some necessary steps to be taken for updating from 10.4.1 to 10.4.3?
-
Building a dynamic JSON Request body with n objects in an array
Hello, I have a use case that I'm trying to implement in SOATest and am running into a wall. I have a Service1 that returns n number of Account objects. There are a varying amount of accounts that could be returned for a given request as that user may have more or less accounts than another. I have a second service,…
-
Getting tsts to execute on a mac
Hey Parasoft, I had to reinstall eclipse (from 09-2019 to 03-2020) on my mac. But when I try to execute a tst, it failing right away with no text to explain why. What can I do to fix this? Thanks, Bryan Cox
-
DataRepositoryServer for Mac
Hey Parasoft, I have a mac what do I need to run that is equivalant to the server.bat that is in the DataRepositoryServer file? Thanks in advance, Bryan
-
Python script error
I am trying to add new column header in data and in assertion i am using that column header in code Error Message: DataSource: Positive (row 5): Error during script execution. View Details for more information. java.lang.AssertionError ~~~~
-
Multiple Responses
Hi All, I am New to Parasoft, and trying to stub and virtulize few Operations. I have created 3 response and based on my Incoming request it has to pick the right response. for Eg. 1. If my incoming request is of Reffer it has to pick the Reffer Response. 2.If my incoming request is of Approve it has to pick the Approve…
-
MISRAC2012-RULE_1_1 Compliance Pack settings for C99
Hi, There are two sets of rules for this Rule: two for C90 and two for C99. I am developing my program using C99 standard. Shall I unmark the two C90 rules and leave only C99 rules? (both 4 are marked by default) Thanks, Ritchie
-
Trouble executing with stubs
I've made a couple of stubs using the "Lesson 15: Configuring Stub Behavior in Source Code" chapter in "C++test Host-Based Unit Testing" guide. After running "Collect Stub Information" I created User Stubs for the functions I needed to stub. Trying to execute my test case give the error: function…