-
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.
-
Can we convert SOAP UI developed services XML into .tst files and use it in Parasoft SOATest tool
Hi Team, Is there any way that we can convert SOAP UI developed services XML into .tst files and use it in Parasoft SOATest tool. Please give suggestions to convert SOAP UI developed XML files into Parasoft SOATest support format.
-
Could not find a valid Message Responder to respond to this request.
Hi Team, I have deployed calculator wsdl in PARASOFT Virtualize successfully,But i am getting the below error message while calling the deployed endpoint? Wsdl :http://soaptest.parasoft.com/calculator-02.wsdl http://localhost:9080/glue/calculator/add/2/ error message: Could not find a valid Message Responder to respond to…
-
Execution stops if a scenario has a dependency on login call and variable is mapped to an input file
I am having issue when adding condition to map the scenario folder name (to method name from input excel file) and add success dependency on login call before executing the scenario. The scenario does not get executed. It stops execution after login and does not move on the scenario. Note: if I have the test outside of the…
-
Can we define Env variable outside of the .tst file?
is there a way to define environment variables at project level instead of defining it at .tst?
-
Conditional Assertion not working with Has content
Trying to use condition assertion, where If (tag has content) then (assert this value). But for some reason, Has content doesn't work. The test cases passes even though the assertion value is wrong. Has content as a separate condition works fine. But only if I put it has a if condition, there seems to be some problem. Not…
-
Email reporting: how to update email body message or file name that gets attached to the email
we are using custom reporting for our scripts but we don't see any option to update email body message or attached html file name when report gets generated. it seems that we can only use the variables that are available in the soatest xml file. ex. the attached file name is coming up as managers_email.html by default as…
-
Data Source Row not showing in latest version 9.10.7
Test setup: • All rows in data source are selected. Soatest 9.10.6: (Before upgrade) • Note – Data source row is visible for each test run, in a consolidated fashion. Soatest 9.10.7 (After upgrade): • Data source row is now missing. • Test run field only populates the last 5 test runs in a test setup like this. • Dropdown…
-
Execution issue when using DIFF tool
is anyone facing issue where the script execution continues to wait or hangs when using Diff tool in the web service call? it does not throw any error or warning message.
-
Is there a way to reference a test from .tst file instead of entire .tst?
Can we reference one of the test instead of entire .tst file? ex. if I have Test.tst which has 5 test suite. Can I reference just test suite 1 in my smoke or regression.tst?
-
Populating Responder payloads with ALL possible enumerations
When populating a responder payload, is it possible to populate x number of instances, for a particular portion (array) within the dataset, to include all possible enumerations or is this a manual process? Say an address response allows all 50 states, along with other basic address info like street name and city. is it…
-
Objective - Create a Fixed-Message Virtual Asset from Traffic File via the REST API
Trying again on this topic after spending a few more weeks getting used to the Virtualize product. I am able to create a fixed-message virtual asset using the Parasoft/Eclipse IDE. The virtual asset is generated with no Data Source and each transaction is listed as a separate Responder. I want to be able to accomplish this…
-
Proxy Listen Ports - Which ones are open by default?
I have a situation wherein I would like to deploy a virtualize proxy at http://{virtualize_host}/, or in other words, at root. If I don't deploy the proxy at route it will require a code change and we are trying to avoid that if possible. My question is: What virtualize ports are available by default? I have found that I…
-
Launch cpptest with a specific workspace and modify PROJECT_LOC variable
Hello, I have two queries. 1). I wish to know how to launch the cpptest GUI and specify a workspace to open rather than the default (not sure where this is set either). 2). How to modify the PROJECT_LOC so that projects can be shared with multiple people. Parasoft is able to pick on the PARENT_LOC and WORKSPACE_LOC based…
-
Ways to avoid brittle element locators
Website recorders do their very best to select the right element locator as you navigate through the site but in many cases the locators that get recorded are non-ideal and contain dynamic information that would otherwise be too specific for example a brittle xpath. Common examples * IDs that change every time you visit…
-
Managing wait conditions in created tests
As a human, when I use a website, I look around for specific elements then I click on those buttons when they are “ready”. I do this because I am able to see when elements are available to be interacted with in the proper way. In an automated framework it’s a little more difficult for the machine to know when to do things…
-
Challenges with record and playback: Screen Size
Changing screen sizes. This challenge is interesting because there's this modern testing practice that is biting us during automated test creation and that is responsive web. In order to make a website that works for both mobile and desktop, Smart developers create responsive websites that will change the way that they…
-
Challenges with record and playback: Cookies and Sessions
The application was recorded in a particular state, even if you didn’t know it... Many times, things are set in the browser that customize the users experience on a site. There are identifiers that uniquely recognize the user, and affect things on the site such as: * The current Login state * Notifications shown the first…