-
Conditional Check for Incoming Request and Custom Response
Is it possible to set up a responder to respond multiple ways based on the incoming request format? Example: A SOAP based request sent yields type "A" response, and a REST based request yields type "B" response. The response is from the same responder If this is possible, can it be detailed as to how to do this?
-
XML Assertion for single element
Hi team, I need to validate a value say itemID (used excel datasource ) from xml response but in the response xml a no. of itemID nodes gets generated ,so I have to check with each itemID present in the response.The required itemID in response doesnot everytime generates at the same node so while selecting the element I…
-
Write/save SOAtest console log to file
Hi, What is the best way to write the contents of the SOAtest console log to a (txt) file? I heard this is possilble with the CLI, but is this also possible with the desktop version? With standard eClips you can set the Run/Debug configurations, however I do not see this option within SOAtest 9.10.6. Or can I use something…
-
Change host from responder
Hello everyone, I need to change the host from the responders. For example, I have one Virtual Asset with two responders, I want "method 1" goes to a virtual asset and "method 2" goes to the real endpoint. This is customizable by the user. ¿How can I achieve this? I'm trying to do this through CTP (the user chooses the…
-
Open File command issue in Quick access Textbox
Through automation, when Open file command is passed to Quick Access Text box, getting following error. "There is no handler to execute for command org.eclipse.ui.edit.text.openLocalFile" This issue occurs only when user enters the command through automation. We could not reproduce the same issue manually. Error screenshot…
-
Is there technical documentation
I'm using C++test in a custom way (embedded ST ARM MCU) and am fatigued by the lack of productivity and progress. The "owners manual" (Parasoft C/C++test Professional) doesn't begin to describe what's really happening with the code. I see how to turn the headlights on and off, but only one works. Now what? Is there any…
-
Permission on Virtual Assets under CTP
I am trying to admin our system and give permission to people to add/modify vitual assets under CTP. I have read the document [1] but am confused by the mention of "tests" and "test assets". My mind translates this as SOATest assets as compared to Virtualize assets. Should I be reading each time it says "test" as "test…
-
how to customize METRICS-39 ?
I am trying to create a version of METRICS-39 with a different threshold. I have duplicated the rule and modified the RULEMAP. However when I open the rule in the wizard there doesn't appear to be a way to modify the threshold like other rules. what am I missing?
-
best static analysis rule for arithmetic complexity?
Hello, I have found a few metrics that appear to address operator complexity. Halstead is the metric you find online. It looks like C++test supports several different Halstead complexity calculations but; a. they are not all enabled b. the ones that are enabled are not setup for violation detection. I also found VOCF which…
-
SOAtest : DB Tool passing extracted values using XML Data bank to other queries in specific format
I am using DB tool with Results as XML -> XML Data Bank, it returns many rows as a result and I want all values of say nth field as input to succeeding queries in test scenario workflow. Is there any simplistic way to do this? For example first query select * returns few rows with fields say f1,f2....fn, I want all values…
-
Is it possible to create parameterized messages using a traffic file without changing namespaces?
Hi, I just wanted to know if it's possible to create responders with parameterized messages without changing the original namespaces as seen in my recorded traffic. I've noticed that if I create responders with fixed messages, then the original namespaces are not changed by Virtualize. My application breaks when it…
-
How to set Virtualize responder to respond as a file using FTP
Hi Team, I have virtualized using FTP connection to read the file as a request & I want to send the response to another file location using FTP. How can we achieve this please help me * FTP(Request) - Completed the configuration. * FTP(Response) - Pending
-
Fetching data from Text Databank variable from a different test
This is my use case: Test 1: Extension Tool Add output --> Text Data Bank (Extract 2 data variables StartDate and EndDate) Test 2: Do SOAP calls Add output --> XML DataBank Test 3: Extension Tool Parameterize Call Add output --> Text Data Bank Test 4: QueryDBUsingvalues Add output --> Text Databank My problem: The two…
-
Parasoft Jtest 10.4.3 (M2) Milestone Build Available
We are happy to announce that the public milestones for Jtest 10.4.3 (M2) is available on the customer portal this week. Official GA of 10.4.3 is planned for Monday November 18th, in the meantime please see below for the highlights of this milestones. The main focus of this milestone is JUnit 5 support, please comment on…
-
Parasoft Jtest 10.4.3 (M2) Milestone Build Available
We are happy to announce that the public milestones for Jtest 10.4.3 (M2) is available on the customer portal this week. Official GA of 10.4.3 is planned for Monday November 18th, in the meantime please see below for the highlights of this milestones. The main focus of this milestone is JUnit 5 support, please comment on…
-
Attachment in Parasoft
Hi team, I am seeing a tab in soap client as attachment. What is the use of that?
-
I am seeing a tab in soap client as attachment. What is the use of that?
I am seeing a tab in soap client as attachment. What is the use of that?
-
Extract tag element from request(XML) & save it to external EXCEL file
Hi Team The requirement is to extract the tag element from incoming request & store it into external excel for further processing. I explored writable data source is not available for Virtualize. I explored both XML data bank and XML Transformer but both are not updating the excel sheet. How can i achieve this
-
I am seeing a tab in soap client as attachment. What is the use of that?
I am seeing a tab in soap client as attachment. What is the use of that?
-
Suitability of Parasoft C/C++ for performing Static Code Analysis
Hi All , My necessity is to evaluate options to consider usage of Parasoft C/C++ for conducting Static code analysis ( i) whether Parasoft C/C++ integrates seamlessly into VS 2015(IDE) , GIT and Jenkins ii) does it involve C++/CLI (Managed C++) for static analysis in addition to languages used C, C++, MFC & C#, .NET iii)…
-
Are you using or planning to use JUnit 5?
Jtest 10.4.3 will include support for JUnit 5 - what are your plans for JUnit 5?
-
Parasoft dotTEST 10.4.3 (M2) Milestone Build Available
We are happy to announce that the first public milestone for dotTEST 10.4.3 (M2) is now available on the customer portal. The primary focus for this milestone is support for Visual Studio 2019. Official GA of 10.4.3 is currently planned for Monday November 18th but in the meantime, please see below for the highlights of…
-
Parasoft dotTEST 10.4.3 (M2) Milestone Build Available
We are happy to announce that the first public milestone for dotTEST 10.4.3 (M2) is now available on the customer portal. The primary focus for this milestone is support for Visual Studio 2019. Official GA of 10.4.3 is currently planned for Monday November 18th but in the meantime, please see below for the highlights of…
-
Test Suite Generated From Traffic File - Missing VirtualAsset Context
I am successfully generating a virtual asset and a test suite from a traffic file using the REST API. When I execute the test suite, the tests fail because all of the tests are pointing directly at the URI's as they are listed in the traffic file e.g. /customer/doSomthing In order for the tests to succeed, I believe they…
-
Storing xml response
Hi all, I am trying to split an xml response by using a tag but before that I need to store my response xml in a string variable. I am using JavaScript (as per my project requirement) in custom assertion.Please kindly help me how to store the response xml in a string variable first so that i can proceed with further…
-
Does SOA Test support confluent kafka 5.2.1
Hi I am trying to setup a messaging client test for confluent kafka 5.2.1 version using SOA Test. Does any body know if SOA Test supports this confluent kafka 5.2.1...? Also this is using "KafkaAvroSerializer".
-
How do I pass current date in my XML Request
XML request has - date from and date to tags, how do I pass current date for both tags using extension tool, or is there any other way to achieve this. I am using Parasoft 9.9
-
Socket Closed Error Message
Hi, I am making a GET call from SOATest, and my URL is of the format walk.appgw1.westin1.dev.azure.xy.com/sv/details/v1/name?ID=123456 I don't see any traffic in the viewer and in the "quality tasks" tab I get "Socket Closed" I find no issues when I try this from POSTMAN / SOAP UI / Browser so its presumingly a SOATest…
-
ECMA in Parasoft assertion
Hi Team, What prerequisites(setup) we need to do so that we can use ECMA script in custom assertion. Please help.
-
Can a Proxy be set to go to priimary Real endpoint and Failover to secondary Virtual Asset?
If so, what are the parameters for the fail-over? Timeout or 50X/40X response?
-
SAP Hana
Has anyone connected or integrated soatest to sap Hana either by JDBC or Hana xs odata?
-
Rest API version
Hi, I am working on a virtualization project using Parasoft virtualize. The API version follows the semver 2.0.0 Please let me know if this is compatible with Parasoft virtualize tool 9.8 version
-
Keil unable to build unit test using library approach
Hello, I am using Keil for our application development. The objective is to create unit tests for our application that will run in the ARMCM4_FP emulator. For unit testing, I created a "UnitTest" build target that creates a library, verses an executable, of the application code and any non-hardware dependent library…
-
Kerberos Authentication
Hello, I am trying to setup Kerberos Authentication for a client and am running into some issues with the configuration of it. The help file states this: "To begin setting up Kerberos authentication in SOAtest, you must first place a file in the installation directory of SOAtest called kerberos.config. This file can be…
-
Documentation on Customizing Traffic Template
Do you have any documentation on customizing a traffic template? My goal is to create Fixed Message Responders from a traffic file. Without a traffic template, the "/soavirt/api/v5/files/pvas/traffic" call seems to default to Parameterized Message Responders. I have not found a way to save a traffic template from the…
-
how to capture and virtualize async response
Hi All, Please let me know if anybody has worked on to virtualize async response in PS virtualize. I need to know how we can capture and create a responder for the same. thanks!
-
How to differentiate between stub response and real response
Hi All, We are trying to Parasoft Virtualize in our test env, use case is as follows, If request data is found it in Data repository PS will send stub response back, but if data is not found it will forward the request to real endpoint, . My query here is how to identify if the response came back is from PS (stub) or from…
-
Need timeout == pass
Infinite loop timeoutI want C++Test to report a success if timeout is triggered. I have an infinitely looping task. I expect a timeout. I don't want the timeout reported as an error. Here is the basic setup of the function (which I am not free to change) ... void MyInfiniteTask(void) { while (TRUE) {…
-
REST API - Create PVA from Traffic File
Looking for examples of creating a PVA from a traffic file using the REST API. Any information or sample code would be greatly appreciated. Thanks, JT
-
Programmatically create and deploy a virtual asset using the REST API
This script will enable you to create and deploy an asset dynamically. This is useful when you want to create an asset on the fly. This uses the SOAVirt API. #Server SettingsVIRT_USER=adminVIRT_PASS=adminVIRT_HOST=localhostVIRT_PORT=9080#Workspace…
-
Traffic File Validator
Is there any way to validate a traffic file that was generated by an outside utility? Thanks, JT
-
Error - An error occurred and the suite could not be created.
Creating a VirtualAsset from a traffic file. Getting the following error when I use a traffic file generated manually: Error - An error occurred and the suite could not be created. At least one group with matching messages must be defined before proceeding Compare shows the files match perfectly. Ii checked encoding and…
-
SOATEST returning error when trying to update the Xpath with string functions
I was asserting on the below response against my database value which is supposed to be Response from the service for scoreDate: 2017-03-16T12:45:25-04:00 Database value for scoreDate: 2017-03-16 12:45:25 (Expected value) I am passing the List name as a parameter from my Datasource excel sheet('ExpectedIPList' column). So…
-
FOR LOOP in xpath reg-ex
for $item in (/root/Json[1]/item[*]) return $item/account[1]/text() the above statement return no.of items, whereas applying replacement is not working for $item in (/root/Json[1]/item[*]) return replace($item/account[1]/text(),'abc','xyz') It returns only the top row.
-
SOATEST - How to assert on blank values
I am using SOATest (9.9) and in my JSON response I am asserting on an element (status) which can have a value or null value. I am trying to assert this against my datasource column 'status'. I added the below assertions in this case and did the below: 1) Added a Value Assertion for the element 'status' and parameterized it…
-
How to find new violations for particular rule id using rest api?
Summary on what I am trying to do: During the pull request we want to find new violations by comparing target and base builds. We have list of rules IDs checked in code in yaml file. If any new violations are from those rule IDs then we plan to fail the build. that is why we need api to get the information and not in the…
-
Unable to correlate the responder with all the data rows returned from DB results
With respect to Responders, I'm adding a DB tool as output and querying the results and storing in XML data bank. The query returns multiple rows of data, but the responder is able to pick only 1 row of data. Please help me a solution on how to correlate with multiple rows of data from DB results. Step 1 – Created…
-
Unable to correlate the responder with all the data rows returned from DB results
With respect to Responders, I'm adding a DB tool as output and querying the results and storing in XML data bank. The query returns multiple rows of data, but the responder is able to pick only 1 row of data. Please help me a solution on how to correlate with multiple rows of data from DB results. Step 1 – Created…
-
Capture response
Can we capture any part of data from the response and save in an external excelsheet for REST API in Parasoft SOA
-
Threads
Is there a setting to set the number of threads in LT? I did not see any. Is there a default it uses? thx