-
Escaping ? in the Endpoint before forwarding the traffic
I'm constructing a string for the endpoint that I need e.g. https://cisweb-dt-1i.ula.comcast.net:1043/api/custom/comcast/v1/move/companies/${ban}?leadUpdate=Y but when I look at the traffic I only see https://cisweb-dt-1i.ula.comcast.net:1043/api/custom/comcast/v1/move/companies/${ban}. Everything after ? seems to be…
-
How to create Mock Services for testing in SOATest?
Is there a way we can create Mock services in SOATest for early test start, when the real service is not available?
-
Extracting string from the URL & saving in the variable for later usage
Hi, Application that I'm working with includes unique string at the end of the URL e.g. http://:9080//. I was able to update the Path in Transport --> HTTP to //* and now responder is able to respond but I need to extract and save that. I tried "REST URL Data Bank" but I can only extract name as the Path. I tried attaching…
-
Manipulating "Router Endpoint" in "Message Forward" using script
I'm checking for a string and if string's length is not > 0 than I want to change the endpoint If I put my Application.showMessage I can see that I'm in else when the size is not > 0 but the return does not seem to be returning because I get the error Here is my sample code jython code from com.parasoft.api import * from…
-
HSQLDB Insert statement error through TIBCO BW
I am trying to execute a tibco bw process activity which inserts record into hsqldb table. while inserting tibco bw record it is throwing an error; here I am attaching the snapshot of error. Any clue? Error says - BW-JDBC-100014 Job-58000 Error in [Process/Receive Message.process/JDBC Update] "JDBC error reported:…
-
How to extract specific node in JSON Databank
Hi Team, I have a requirement where i have to get the specific node in json object. from the below example, How do i fetch the "Node_12345", any help would be appreciatable. "Node_12345": { "Key": "XXXXX", "value": "YYYYY" }, I have use xpath : root\node() --> this gives me complete xml. But i need to fetch this node alone.
-
Report with traffic information for passed Test case
Hi Team, While generating the report I am getting only failed traffic information, I would like to get passed traffic information. How do i get that?? Regards Udaya
-
DB Datasource is not getting refreshed
I'm using MySQL DB as the datasource and doing Data Source Correlation on it. When new data is getting inserted in the DB it does not do correlation properly until you open the data source and do show column. Is there a setting or something that needs to be turned on so it always pulls latest info from the DB?
-
Extracting source IP & values from JSON data bank
Hi, I'm trying to create a proxy basically scenario is 2 endpoints sending info to single proxy and want to capture what endpoint has sent what data in the data source. I want to capture source IP and info from JSON data bank in the data source that can be used as a data source correlation for other responders. Any…
-
How to capture response time?
While running the regression controls in SOA for each operation, we are giving some 100-200 inputs. And for each we can see the response time as well. Is there any default method, by which we can capture these response times per input and export them into an excel sheet.
-
Accessing Private members of the class in CPP unit test
How to set the private variables which is defined in the different CPP file other than file under unit test using parasoft?
-
Backward compatibility
Hi, I have created scripts in 9.10 and have it in the team share . But my counterpart teams are using SOA 9.9 version and uploading their scripts.I m not able to open the services Soa 9.9 (.tst files) in 9.10 version .Is it possible for me to have backward compatibility of my 9.10 scripts to 9.9 version? Any help is much…
-
grs.* localsettings properties are no longer supported in SOAtest 9.10.3 and later
Starting with SOAtest 9.10.3, localsettings properties with the "grs" prefix are no longer supported. If they are specified in the localsettings file, then the following will be printed out in the console: Instead of using the grs.* properties, the following properties should be used instead: GRS PROPERTY UPDATED PROPERTY…
-
Extension Tool not showing script methods or errors
hi guys, I changed a couple scripts in my scenario. Now when I open an extension tool it doesn't show the methods in the jython script anymore. 'error message' and also the 'Evaluate' button do not show any error message. is there an additional source for errors I could check to find what I did wrong? pydev code analysis…
-
DB Tool SQL error: SQL command not properly ended
I'm trying to execute a DB Tool test. I get the following error: java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended Scenario: * Set-Up Tests * Tear-Down Tests * Test 1: authorize * Test 2: DB Tool * Test 3: redeem My SQL: SELECT UPDATE_APP_NAME FROM CREDITACCOUNT.CREDIT_PROVIDER_REBATE WHERE…
-
Responders
If I have two endpoints that are the same , First endpoint I do a "get". the second one I do a "post". The data returned is different for the two. How do I do this using one proxy? I am thinking of using a responder that filters off of a URL url/get or url/post. What do I put in the request of the reponder that whichever…
-
is it possible to save the Writable Data Source
Hi Team, is it possible to save the writable Data source to specific Path. We are having set of test case, where each test case will write data to writable data source dynamically. When we run the parameterized test case, we are loosing the extracted data. is there any way to achieve this?? Thanks Udaya
-
SSH Connection
SSHDear All, I would appreciate it if you could share your knowledge regarding ssh connectivity: I am running a SOAP client in my suite (windows pc) and the server is running on a linux pc inside the network. I would like to connect to the linux (via soaTest) system, execute a command (for example "ls -la /home/lefteris")…
-
Invoke soatestcli to run selenium TCs in soatest.
Hi Team, I have some selenium TCs present in soatest, where I am able to execute those after inserting all jars there. But if the same thing I am doing with the help of soatestcli I am unable to do that. It throws error selenium class not found. I know I need to wrap that into jars and pass the path in localsettings file.…
-
Data Repository How Data is Stored
If I import data via excel, or SQL how is that data stored on the Data Repo server(or wherever it is set up at)? Is it stored in a binary or text file on disk? thx
-
Inserting values in DB from the transformed response
Hi, I'm using style sheet to transform my response into something I care about from the fields standpoint. What I want to do is extract the values from the transformed response and insert that in the DB My transformed xml is looking like this 2017-10-17T13:45:00.61-04:00 9476102124 HIGH_SPEED_DATA 1 choice WiFi Business…
-
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…