-
Extension tool not reading Java class file & populating the method defined in it
Hello, I have written below java method to compare two xml ignoring element orders. String expected = "FOOBAR"; String actual = "BARFOO"; Diff myDiff = DiffBuilder.compare(Input.fromString(expected)) .withTest(Input.fromString(actual)) .withNodeMatcher(new DefaultNodeMatcher(ElementSelectors.byNameAndAllAttributes))…
-
TestCase Generation in a Common path
Hi Guys, Can we create our test cases and run them from a common place out side of the project? Like If I have my VS solution in MainProject folder and it have 20 projects. Now I'm able to generate and run them from project's location. What I want is to create a Tests folder outside the MainProject, which contains folders…
-
Attachment Upload in Jira Test Case from SOATest
How can we upload files in jira for a test case from SOATest
-
how to see the request for a forwarded message
Hi, I have a Json data bank that extracts certain values from the request, then i am using a forwarder to send the extracted message to another endpoint. Is there a way to capture the forwarded request? I tried using a traffic viewer and writing to a file but an not able to capture the forwarded request.
-
Is it possible to handle binary form data in a responder?
We have an API that expects multiform form-data to upload a file. I'd like to create a stub for it. Is it possible to handle the response differently based on the binary file content?
-
Copy chunk from req to res in parasoft virtualize
hello, how to copy whole chunk from req to res in parasoft virtualize ?
-
How to extract values from req and paste it in res
hello, we have req res in xml format also req are changing and as per that response should change with values. we need to store req res and also as per req has no of items tags in xml same should paste in res we are using parasoft virtualize. any java code etc ?
-
How to set compiler path in cpptestcli?
I'm using Parasoft C++test 9.0. I've used "cpptestscan.exe" to create build data file(bdf), then I want to run my ruleset with "cpptestcli.exe". When I use "New Project -> C++ Test -> Create project from a build data file" in Parasoft IDE(Eclipse based), it allows me to configure compiler setting(family, c compiler, c++…
-
Using LoadTest Continuum in DevOps delivery pipeline.
Running performance tests as a part of the continuous delivery pipeline is becoming a best practice in DevOps environments. You can start integrating performance tests into the continuous delivery pipeline by adding selected performance tests to Jenkins or a continuous integration tool of your choice and having them run…
-
Email test execution report after execution is complete
How can the automated mail with SOATest execution report be triggered from parasoftSOA test to recipients after execution of scripts is completed in parasoftSOA test
-
How to generate and run unit tests outside the project folder (in MS visual studio) ?
How to generate and run unit tests outside the project folder (in MS visual studio) ? Currently I am not able generate test cases using parasoft ,in a folder which is outside the CPP project. what are settings that needs to be done ? Please suggest.
-
Parsing error
I am trying to check "Coding Standarts" of our project with Parasoft. This is a C project which uses "gnu.cross.cortexm3". I open this project with Parasoft and try to test it with "Example Configurations" but it skips all the files in project and doesn't check any file. When I create a new simple makefile C project(Hello…
-
DIff_FilePath_Parameterize is not working
Hi Team, I have 25 rows of data where as each response has been captured as file. In regression i have to validate each using diff tool. But i am facing issue in parameterizing the filepath, please find the attached way of parameterizing. Note: Getting the rowIndex using extension tool and writing in Test suite Variable…
-
How can you use a specific row from a writable datasource in a subsequent test?
I created a writable datasource that is populated with anywhere from 5 to 20 rows of data in a REST GET command. In the next test, I would like to always use row number 5 of the datasource as a parameterized value in a POST command. Is there a way to do this. I have searched the help and have not been successful in finding…
-
Virtualize - Unable to get response for GET method with query string in URL
Hi, Confession : I'm new to parasoft/virtualize. Question: Trying to virtualize Rest API, without correlation URL path, responding well via endpoint URL but ones add path including query string , it doesn't respond. In console it shows expected URL but under actual it shows path it doesn't show query string(starting with…
-
How to get Jenkins to fail build with test failures?
I have SOATest running through Jenkins, however I am seeing that if tests fail, the Jenkins build is still showing as passing. Is there something I need to add to my cli command to have it exit correctly? Also, I'm having reports published by Jenkins, but when I look in the workspace at the reports, the View Traffic link…
-
How to understand error displayed by Insure++.
Is there any reference available to link observed error no pertaining to Insure++ with its probable reason and possible solution. I am having an error as "Unix/NativeFilestream.cc-------hexdecimal number-----Trace/breakpoint trap (core dump)" and not able to understand the reason. Details of machine a below:- OS - RHEL 6.6…
-
Check-in SOATest projects to GIT
Hi, Did someone try using GIT as their source code management tool ? We are planning to use GIT to check in our SOATest projects and the documentation is not of much help. As SOATest does not show us what is in sync with GIT. We need to use another tool or commands to see whether there are any files that has been changed…
-
Remote execution for SOAtest Server script
The Parasoft Marketplace now has a bash script for running tests on a remote SOAtest server. Visit the marketplace then look for Remote execution for SOAtest Server script for download link and details. You can invoke this script directly from a bash prompt or from another bash script. This script can also be invoked from…
-
Redirecting a request to 3 EndPoints
I have a requirement where i have to redirect an incoming request to 3 different endpoints, i know that Virtualize has an option to forward a message but from what i know only 1 response will be generated. Is there a way i can use Virtualize and redirect the response to 3 endpoints?
-
Couldn't find Jar file for dependency soatest-cucumber & error in POM xml
As part of integrating SOATEST with Cucumber, the jar files for dependencies junit, cucumber-java8, cucumber-junit & soatest-cucumber is required to build maven project. But Unfortunately I am not able to find the Jar file for soatest-cucumber due to which I am seeing lot of errors while building the maven project. Please…
-
Community addition - SOAtest & Virtulize 9.10 - Unable to open application (
When I try to open application , it gives error. Any help to resolve this error would be appreciated. Thanks
-
oAuth Configuration
Could you please provide the steps for Oauth configuration
-
In Parasoft SOA test 9.9, Copy and paste operation doesn't work
I am using parasoft SOA test 9.9. I have a weird problem of copy and paste, when I copy some content from outside to tool. it's just erase the current content , But what ever is copied is not pasted. I don't know why, It was working fine before. I keep switching between different work spaces. May be this caused some issue.…
-
Need help to configure script
I have saved an incoming request at a location using incoming request--> write file and then written a java code which will format a response according to dynamic incoming request. How to configure that code in .pva/responder so that it will respond to incoming request.
-
need help in parasoft responder-response
we have taken write file for incoming request after that we have written script for the request to get no of nodes and values as per the request , response should change so we have sample response in some file and we have updated it as per request through java coding. but when we select responder->response tab and scripted…
-
DataSource: TestData (row 1): Connection refused.
Hi All, Error: "DataSource: TestData (row 1): Connection refused." I am getting above error while running the test case in environment manager but the request/response pair looks good. Note: Result is pretty clear while running in local. Regards Udaya
-
How to fail the test case based on the response code
Hi Team, Would like to fail the based on the response code. if response code != {204,200,207} then fail. is there any way i can have assertion on it?? Regards Udaya
-
Issue running unit tests (cpptest) using C++Test (9.6) and Cygwin (GCC 6.4)
Disclaimer: I have not used C++Test in the past. I have installed Cygwin with GCC version 6.4.0 but the latest version of the GCC toolchain that C++Test version 9.6 seems to support is 4.9.x. I haven't figured out how to install an older version of GCC to match C++test requirements. I figured that I could run static…
-
Problem to create the virtual asset of superheroe
The atachment is the pva, that is me test, but can´t finish sucessfull, the steps follow the url: https://dzone.com/articles/reducing-costs-by-prototyping-with-service-virtual My version Virtualize is 9.10.2.20170502 Please help me
-
SSL with Tibco EMS
I have the SSL public Key "Filename.cer" file to connect to the Tibco EMS server. I keep getting "Can not initialize SSLon client, no trusted certificates are set. Where do I reference to this .cer file? I tried "Preferences>>Parasoft>>Security>> and browse to it there but I do not think that is the correct place as this…
-
Is there a way to connect and validate Redis data from SOA Test?
I have some applications that write to a Redis storage. Is there a way i can connect to Redis via SOA test to validate/view the data in it?
-
C/C++ rule engine failure
I use C++test 9.0. I've created bdf files for 3 different projects with "cpptestscan" command. Then, I've used these bdf files to create new projects in Parasoft and tried to run "Example Configurations", then it works. It works for 2 of the projects but doesn't work properly for the other one. Firstly, these 3 projects…
-
3hrs of Performance test
Hi Everyone, We are running a performance test with high volume of users (1500+) against a Virtualize installed on a windows server 2008 R2 and we noticed that: first hour: CPU usage is reaching 40-50% usage third hour: CPU usage is reaching 90-100% usage checked the task manager > process and saw that java.exe is taking…
-
Can you use a Test Scenario variable in a test script?
I have a variable in a test scenario that gets set from a REST call's response using an XML databank (variable is named x and gets set to the number of widgets). I would like to then perform an operation on that widget that requires the use of a groovy script (this operation accesses a row in a writable datasource and the…
-
ALM 14 REST API integration with ParasoftSOA Test
I have one challenge with respect to connecting to ALM 14 from ParasoftSOA . With the latest update of ALM to ALM 14( https://alm-help.saas.hpe.com/en/14.00/api_refs/REST/webframe.htm#Authenticate.htm ) I am facing some challenges in connecting to ALM from parasoftSOA Test. challenges in step number 3,4,5 in the above…
-
An error occurred while processing an assertion: net.sf.saxon.trans.XPathException: Required
Error Message: DataSource: PostInquiryResponse (row 1): An error occurred while processing an assertion: net.sf.saxon.trans.XPathException: Required item type of first operand of '/' is node(); supplied value has item type xs:string Team, Why am i getting this error , evaluation happens good was able to get the response in…
-
option to compare the writable data source column A with Column B
Hi Team, I have pushed a json response to writable data source. where as column b is "staticText" + columnA value. I have the static text with me, how do i validate without going for a script. Note: I have separate test suite to loop thru the writable data source. Regards Udaya
-
is it possible to call a DBTest from Extension tool??
is it possible to call a DBTest from Extension tool??
-
WitableDataSource: Options to put null value when element is not there
Using Writable data source for JSON Response. In a JSON Response array contains two elements which i am writing in the writable data source. Where 1 element is present only in couple of places. I would like to write in the writable source at the same place. In the given example enrollmentID 1,5,7 should goes to the…
-
Parasoft SOA test is getting hanged when i try to invoke a 2MB size excel file into data source?
Hello, I am using Parasoft SOA test 9.9. * Create a .tst. * trying to add a excel sheet to data source (excel file size is almost 2MB). everytime I import the excel , I am getting an error that Parasoft is not responding or the tool get freezed. I will have to go to Task manager to end the process. Is there any limit in…
-
Nested JSON Array response validation
Hi Team, Asserting array of response, which i achieved writing to a writable data source and looping thru the validation step in different test source. Here i got another problem For each array in response there is another child array is getting generated. How to assert this array child array responses. for ( each array…
-
Feature request for MongoDBQueryTool Connection details
Hi Team, Please include export/import connection option for MongoDBQueryTool Issue: We have used same connection in multiple locations, where we cant refer the connection information from file. Facing issues in updating the userName and password. **Work Around: ** We tried referring from environment variable still we faced…
-
Getting xml resquest/response in groovy extention script
How to get xml resquest/response in groovy extention script?
-
Recording web scenario requiring logon
Hi, I'm not able to record a web scenario and can't figure out what's wrong. If I start Chrome (or IE) manually and navigate to the website to test, I'm prompted for authentication (browser logon dialog, not a logon page in the website). After providing my credentials, I access the site... When SOATest starts Chrome (or…
-
write to all column that matches
Hi Team, Need additional clarification on this option. From help File : Write to all columns that match: Tells SOAtest to store the value in all columns whose name contains the given string. When extracting multiple values from a message, each value will be written across all the columns that match. In contrast, if you…
-
Assertion for Array of constant values.
Hi Team, I have to assert a array of fields where response value is always constant. For Example: [ { color: "red", value: "#f00", Available : "yes" }, { color: "green", value: "#0f0", Available : "yes" }, { color: "blue", value: "#00f", Available : "yes" }, { color: "cyan", value: "#0ff", Available : "yes" }, { color:…
-
Test Suite Reporting options
Hi Team, I have main test suite Test case which calls separate sub test suite, based on the response. I don't want to report the Sub Test case execution report, Because we waned to know the exact failures. is there any way to control it? Note: Sub Test suite is assertion test suite, execution count based on the main test…
-
How to export data from excel sheet to data source (which is a Table)
Hi, I would like to know how to export data from excel sheet to data source (which is a Table)? For example the excel sheet containing total 20 different records with 5 different accounts. We want to fetch individual account information from excel sheet and then copying to data source i.e Table. Your inputs will be very…
-
Fetching specific row element from Excel
Hi, Can someone help me in fetching data from Excel sheet using jython script. My requirement is i have 20 rows in my excel sheet. I want to fetch specific row for a test .