-
SOAtest and Virtualize 9.10.8 are now available
The latest releases of Parasoft SOAtest, Virtualize, and CTP are out! There's a bunch of new features including: Test impact analysis for API testing * You can now leverage test impact analysis (TIA) functionality for API tests in SOAtest. Designed for use in your automated test execution environment, TIA analyzes the…
-
Is there support for sending .xlsm files using the REST client?
Hello, I'm trying to test against a service that expects a file in the request. The file's extension is .xlsm. The REST client didn't seem to be able to send a file with that extension. I was able to send other files (e.g. .txt, .xls, .xlsx) without a problem. So I added the following content-type in…
-
Kubernetes / Kubectl support
For the proxy setups in parasoft, is there a integration with kubernetes at all? In a dev environment, we use a lot of localhost connections through Kubernetes/Bastion/Olympus. Is it possible to setup these local host connection port forwards, in a PVA and use them in CTP jobs as well? Sample Kubernetes call to port…
-
Moved: Kubernetes / Kubectl support
This discussion has been moved.
-
Coding Concrete/Collection Type Schemas for JSON Payloads
When I import my YAML, I can see the Concrete/Collection Schema Types, but I am unable to create these manually, at least that I have seen. Is this even possible? Is this ability even supported by Parasoft as I could find no documentation on this feature. By ability, I am referring to the ability to not only setup, but to…
-
Using {variables} in XPath Responder Correlation
Is it possible to use Responder Suite {variables] in the XPath Request Body correlation? e.g. /:Envelope/:Body/:someRequest/:someNode/*:color/text()="{color}"
-
Scripting with a value in a XML Databank chained to Request
I am trying to access a value stored in a XML data bank that is chained to the incoming request. In my extension tool, I chained a XML data bank to see if I can successfully pass the value to the tool. my code: function f(input, context){ var id = context.getValue("Generated Data Source","traceId"); return id; } My issue…
-
Does SOAtest & Virtualize support Java 9 or higher?
Hello, I was looking at the documentation for the tools, and I saw that only Java 8 is supported. However, when I was looking over the documentation for deploying SOAtest and/or Virtualize servers using the WAR file, it says that Java 8 or higher is supported. I just wanted to confirm if this is an inconsistency in the…
-
how to validate a reference argument on CPPTEST_ON_CALL?
I'm using gcc compiler MinGW version 6.3.0 with Parasoft 10.4 under eclipse. I have a C++ function which expects an argument passed as reference, I want to validate on my test that I'm not passing that argument as null. I tried several ways to use the .Equal() on the stub, but I always get errors. My simplified code is…
-
Debugging Scripts in Jython
From an existing customer, but I figure I would post here: Can you recommend how we debug Jython scripts, which we’re planning to use within SOAVRT as “shared” scripts we can distribute to teams? Should we need use Eclipse and PyDev?
-
Parasoft unit test C/C++ test: How to use constant as variable in Unit test
Hello, vehicle software has many special constants which could be changed by test/calibration engineers during tests with calibration tools. While designing unit test cases, I would like to change the value of these test cases across test cases. But since these are defined as constants, one the software is compiled, I…
-
Test Flow Logic based on previous step or data source value rather than test suite variable
Is it possible to base test flow logic (variable condition) based on a datasource row of the current runs value or a databank value pulled from a previous test step?
-
Is it possible to condition headers in a request?
I would like to be able to include a header if a field is set to a certain value. I cannot include the header with an empty value, so the inclusion has to be all or nothing. Possibly two different test steps, one which includes the header and one which does not, but is that the easiest/best solution?
-
How to get the timestamp from the xml data bank using jython script ?
Scenario 1: login request - response of login request adds to the xml databank I need to get the timestamp and session id from the xml databank and append the values while running the txn request (Scenario 2). Can you please provide me the input or sample script to get these info and update it before executing the next…
-
Is there away to verify in a request header that weather http or https was sent
I am looking to create some logs based on the actual traffic, and was wondering if there was a way to determine if a request was sent using http or https, within a script. I know I can pull the initial url, but I was looking for more of a header option, internal value like input.get("Request HTTP Headers"), or such.
-
Saving Unit Test in VS 2017 using "Test Case using Editor"
Hello All, Am I missing something -- but in Visual Studio 2017 - when I attempt to create a new unit test using "Test Case using Editor" i do not see any dialog on save. I figured out a work around - by "x"ing out the tab I am prompted to save - -but that does not seem very graceful. Here is a screen shot (also…
-
Regular Expression for sending conditional response..
Hi Team, Below is the incoming request, I need to identify the postcode number and send the valid response. lt;PostCode>2009</PostCode> <Country>AU</Country> <AddressSince>2017-09-01</AddressSince> </Address> </AddressList> <ContactDetail> <TelephoneNumber></TelephoneNumber> <MobileNumber>0413278999</MobileNumber>…
-
DataSource values are not passed to Tests in CTP
I am trying to Execute my tests from CTP but parameter value from data source is not passed to the test scripts. 1. DataSource is a SQL server and i can see the columns and result in CTP when i saved hte data source. 2. I am using the data source value in my test. When i start writing datasource variable name in DBToool…
-
How to Parameterize a URL
I am trying to find the preferred way to parameterize / correlate values in a URL The type of URL's I am dealing with are in this format: basepath.com/{ParamName}/ How do I store the values for ParamName ** and be able to hit it when the user provides a url like: basepath.com/12234**/ with **12234 **being the ParamName's…
-
Customer Webinar: Introducing Parasoft Selenic – Making Selenium Smarter
Are you using Selenium to test your UIs? Parasoft just released a new product, Parasoft Selenic, addressing the common UI testing challenges of maintainability, stability, and long execution times. We will be hosting a customer webinar Oct 22, 2019 10:00 AM PST to discuss how our powerful new technology can empower your…
-
Customer Webinar: Introducing Parasoft Selenic – Making Selenium Smarter
Are you using Selenium to test your UIs? Parasoft just released a new product, Parasoft Selenic, addressing the common UI testing challenges of maintainability, stability, and long execution times. We will be hosting a customer webinar Oct 22, 2019 10:00 AM PST to discuss how our powerful new technology can empower your…
-
Customer Webinar: Introducing Parasoft Selenic – Making Selenium Smarter
Are you using Selenium to test your UIs? Parasoft just released a new product, Parasoft Selenic, addressing the common UI testing challenges of maintainability, stability, and long execution times. We will be hosting a customer webinar Oct 22, 2019 10:00 AM PST to discuss how our powerful new technology can empower your…
-
How do I create a Rest VirtualAssets?
Hi All, I would like to create a Rest VirtualAssets which is of JSON (Req/Res), If I give the below EndPoint, https://fraud.esm-n.npe.integration.cld/api/fraud/v1/assess-app it throws an error, So I partially gave the End Point "/api/fraud/v1/assess-app" and it got created. but in the message responder correlation, I am…
-
GitLab Integration
Hi, I have runner installed on my VM and registered. But, I'm getting the following error: ERROR: Preparation failed: ssh: unsupported key type "OPENSSH PRIVATE KEY" My .toml: [session_server] session_timeout = 1800 [[runners]] name = "testing em api" url = "https://gitlab.com/" token = "TOKEN" executor = "ssh"…
-
Assertion to be added to check a value present in one of the two xpaths
Hi All, If I want to add an assertion for a value but it can be present in one of the two xpaths of the response so I was thinking of adding OR assertion of the Compound assertion but it is getting failed. eg : I want to fetch an amount and the value can be either in buyer tag or seller tag.So I have added value assertion…
-
COMMENT-04 Bug
Hey, As I was customizing a rule set I noticed a bug in COMMENT-04. It seems that if you run it on a directory with files, it works as indicated in the documentation. However, if you run it on a .sln, with multiple sub directories it flags many more (correctly commented) functions. I presume that it has to do with the way…
-
Report to capture response data
Hi Team, can we capture a datasource's value and the value which we validated using assertion and store those values in our report.How to achieve that ? Can we achieve using XSL Custom report or we need to write any code in extension tool? Kindly help!
-
What's the different between SOATest & NewRelic Synthetic?
I know SOATest is more toward API-driven applications. However, you can use NR Synthetic to do the same in some use cases. What's the performance and benefit from one vs. another? I appreciate any feedback here. -Simon
-
Moved: What's the different between SOATest & NewRelic Synthetic?
This discussion has been moved.
-
Mocking a test
Hi, I'm new to SOA Virt. I'm trying to follow this "https://docs.parasoft.com/display/SOAVIRT9106/HTTP+Simple+Mocking+Tool+1.0", at UI Installation, step 3: where is HTTPSimpleMockingTool.jar? Is that something I downloaded? I appreciate any support. -Simon
-
Is it possible to do service visualization the OTP generation system ans consume it for testing
s it possible to do service visualization the OTP generation system and consume the data for testing or development ? will my system accept the OTP generated from my Virtual services ?
-
How to Increase Proxy Header Size
Hello, I'm testing out my application UI, and I'm routing the request through a proxy in my Virtualize server. The header of my request is over 8 KB (it's around 9 KB), and I've noticed that proxies do not allow their headers to be more than 8 KB. I tried two things to try and solve this problem I have: 1) I added HTTP…
-
Virtualize : Forward Traffic on condition
I have a responder where it forward the incoming request through an internal routing to another responder. But I wanted to forward traffic only when specific criteria matches. I used Data source correlation and also tried using responder correlation but no luck. It just ignores the condition and forwarding the incoming…
-
How to extract partial string value from response ?
I am getting my response as below format and i want to exact partial string value and send to other call root { "countries" : { "States" : " {\"city": xyz}" } } From Above response , i want value "xyz" into my databank and will send this value(xyz) to another API call. How to do this extraction?
-
Modify Files
SOAtest has tools to create files and save data into variables. Outside scripting or external tools, is there some combination of existing tools that will allow the content of a text file to be read, modified (like search and replace); then rewritten?
-
Pass Javascript result into variables in Parasoft
Hi Team, i have created variable called "test" in Responder suite as a Integer. Scenario 1: If I use the below Javascript I am able to pass the result for every hit by configuring tag value into response fields ${test} function number(input, context) { var text = ""; var possible = "0123456789"; for (var i=0; i<5; i++)…
-
Enumerate possible data values for each field within swagger
While I understand we can manually set enumerations of a field in a datasource, and loop through the row values, I was wondering if it was possible to simply loop through the enumerated values of a field from a swagger rather than having to retype the numerous possibilities of each field that contains enumerations. Or, is…
-
How to add a new locator to page object model
Page Object Model is an implementation of the Object Repository design pattern that is used to decouple the test logic from the data used by the test. In this pattern the Web pages are represented by classes and various page elements as class member variables, while user interactions with the page are expressed using class…
-
How to run Selenium tests with Selenic java agent and analyzer from IntelliJ IDE
If you are using Eclipse IDE then you can install Selenic directly to your Eclipse as a plugin and leverage all features that Selenic provides, but if you are using other IDE you have to manually create run configurations for Selenic. In this post I will show how to configure IntelliJ. Create a Junit run configuration for…
-
Do I need SOAtest for API testing?
Parasoft Recorder is a Chrome extension which is included in Selenic and enables you to capture UI actions to create Selenium tests. It can also capture API traffic and saves the data in a format that Parasoft SOAtest can use to test. In order to do that, SOAtest connection configuration and SOAtest Web Proxy installation…
-
Testing frames with your Selenium Test
Testing web pages with frames can be tricky and selenium has built in API to help make this easier but it's important to understand the gotchas associated with it. Even with those APIs its good to follow some best practices to make the code easier to follow and maintain. Its easiest to imagine frames on a web page as a…
-
How to debug Selenium Tests created by Parasoft Selenic
Parasoft Selenic makes it easy to record web UI workflows in Chrome and create/run Selenium test scripts in Eclipse, but what if you need to debug those test scripts? The Debug menu in Eclipse will fail the test right away with an IllegalStateException because the path to the Chrome WebDriver was not set. You will not have…
-
How to migrate Parasoft Selenic history data
This is a simple guide to migrate Parasoft Selenic history data to another machine. Currently, Selenic stores analysis history data in /parasoft/recorded_data in user home directory. Simply move the content of recorded_data folder to the new machine under the same directory. For example, if we are migrating to a Linux…
-
Export Events from Message Proxy
Is there a way to generate a report that shows the status of requests sent to the message proxy? Specifically, I would like to be able to capture statistics that show which requests were served by a Virtual Asset and which requests were passed to the secondary connection. I know this information is available in the Event…
-
server.bat for local data repository does not work if path has spaces
When trying to setup a local datarepo using the included DataRepositoryServer.zip files, I get an error when trying to execute the server.bat. It appears as though the script is not setup to handle paths with spaces.
-
root elements not populated when generating data
I pulled down the google api yaml for books from this location, to practice working with data repositories and am running into some issues. This is the first. google api yaml - https://api.apis.guru/v2/specs/googleapis.com/books/v1/swagger.yaml api endpoint used - /users/{userId}/bookshelves/{shelf}/volumes - GET When I…
-
Guidelines for creating a data repository from a definition file
I found the section for information on the data repository, but did not happen to find any info on how to create/populate the repo based on a definition file such as a swagger. Is this possible?
-
C/C++test 10.4.3 beta released!
Hello All, I’m happy to announce that we have just released C/C++test 10.4.3 beta. Please review the items below and let’s start getting our customers/prospects excited about our upcoming release. Please contact Parasoft Support to get access to beta builds and the initial version of documentation for enhancements.…
-
how to save the result of extension tool into variables in Parasoft
Hi Team I have a JAVA script which generates some numbers once executed using Extension tool. Now I wanted to save the result into some variables/data source. So that I can use those variables in multiple locations. Note: the same JAVA script I need it for 20-30 times in single response generation. Instead of giving every…
-
Connecting parasoft soa test to Aerospike
Can anyone please let me know how to connect parasoft SoA test to Aerospike. If we are using Aerospike java client , do we need to use extension tool with custom scripting . If there is any other option please suggest.