-
Parameterizsing WSDL
Hi All, I have around 30 SOAP webservices and i would like to hit all of them and see their response. I am able to parameterize the WSDL, ENDPOINT from Environment variables. But i want it to be parameterized from my input sheet which is not getting recognized. Could you please help!! Thanks in advance
-
how to use an XML Data Bank and Writable Data Source to extract multiple rows of data for later use
The Goal After completing this tutorial you should have a basic understanding of how to extract multiple values into corresponding data source rows that can later be iterated over for use in subsequent test steps. The Use Case For this use case we would like to request a list of all the books on the bookstore using the…
-
Loadtest is sending only even row from the data set to the server or mq
I have configured the soatest with the messaging client to send message request to the queue, however, soatest send the data (file contents) to the mq all the rows where as loadtest sends the even rows from the data source. Please provide me your input if you guys face the similar issues. Parasoft version 9.6 Thanks
-
How to set a value of a variable in data source using groovy script
context.setValue( "x", "1000") ---> this is applicable when you inserted the value directly. Is there a way if you use the variable instead of the actual value. I tried using the sa Example: myVar = generate a random value. context.setValue( "x", myVar.toString()) --> I tried this but does not work.
-
Stubbing Fails to Find Functions
I ran the "Collect Stub Information" Built-In test configuration on a project. Inside this project, there are a series of both static and non-static functions. However, when I run that test configuration, it fails to find any non-static symbols (functions). What, if anything in terms of code or project configurations,…
-
What specific functionality does the "Instrument Selected Source File(s)" Check Box have?
By default, when a file is imported into an Eclipse Project, this box is checked. I have looked in your documentation to try to get a specific idea on what "Instrumentation" means and what impact it will have on things like code coverage, static analysis, stubability, etc. For example, if I don't want a file included in…
-
Copy Constructors and Copy Assignment Operators Static Analysis Rule [MRM-49]
Rule: MRM-49-3 --> A copy constructor and a copy assignment operator shall be declared for classes that contain pointers to data items or nontrivial destructors. This Static Analysis rule requires that I have to adhere to the Rule of 3 (now rule of 5 if moves are included). We have a destructor defined, but not the copy…
-
How to configure or scrpit a message responder that sends dynamic csv files as an attachment
I've a requirement to send dynamic CSV files as an attachment depending on the incoming request. along with customised http headers as part of response. Can someone show me an example on how to do it?
-
Updating TestSuite Variable using groovy script
I have a testSuite variable named and want to increment and update the testSuite variable using groovy. I could not figure out why it's not updating the testsuite Variable. Here's my Groovy import com.parasoft.api.*; import java.lang.*; public myTransactionId( context ){ Application.showMessage("here the application " +…
-
How to run mainframe job using parasoft
Hi Team, We gotta situation where we need to run the mainframe job externally using parasoft. No luck on search in parasoft marketplace tools, Any help would be really appreciable. Thanks Udaya
-
Need a help to setup Client side SSL.
Need a help to setup Client side SSL. I have Private Key(.key) and Public Key(.cert) need to be configured in SOATEST in order to validate HTTPS. As per information provided in Parasoft document following steps has been taken. 1) KeyStore has been created under Test Suite (right click on Test Suite -> Add new --> Global…
-
JSON Date Assertion
can someone help me which assertion be used to validate Date ( it is in ISO format - 2018-01-01T12:50:00-0400 ) with <, <==, >,>== . I found these condition available for numeric value using numeric assertion but could not find for the Date.
-
Integrating GIThub with Parasoft
How can we integrate GIThub with Parasoft?
-
Scroll by & Scroll to
Dear Parasoft team, unfortunately "ScrollBy" and "ScrollTo" don't work in Soatest 9.10 would you please help me.
-
Best way to do comparisons
I have a src XML file (8 Meg) which correlates to 6800 records in a DB. I want to be able to compare varSRC = xmlMsg to varDB = DBXml message returned from DB. Diff is really really slow. I adjusted Eclipse.ini parameters to no avail. I used the XML assertor and it fails even though when you compare the two messages…
-
Iteration of Columns in Data Bank
Hi, I have some 25 coulmn names in my XML data bank and I need to use all the column names in a Jython script. I do not want to write context.getValue("Genearted Data Source","Column_1") ,..... upto Column_25. How can I iterate through the names in the XML data bank?? Thanks
-
Run .Tst file from Java
Hi, Could you please help me to run .tst file from java and capture result.
-
How to parse response in jython extension tool?
Any tutorial to parse xml response in jython extension tool? or any library best to use with soatest
-
Combine the value from two response fields in a third field
Hi, I am writing a SOAP Message Responder. Some of the fields of the response derives its value from a DataSource column while some gets their value from variables populated by an XML Data Bank. Now my question is how do I combine these values to populate another field in the response. For example, I need a field to be the…
-
REST Client Response - Numbers are converted
In rest client if from server response is coming as '5' parasoft makes it in '05' for which our comparison fails. How can we manage in parasoft to get the exact data from provider.
-
HTTPS request trigger taking 21 sec to reach the server
Hi, I have a test with HTTP 1.0 Protocol which trigger webservice. When I hit the request from SOA test tool it is taking 21 sec minimum to reach the server. Can anyone help why it is taking time? Thanks in Advance.
-
CSV Message Responder issue
*Using Parasoft Virtualize 9.10.4** Unable to extract column data from a CSV file if the incoming request CSV data has multiple word column headings (e.g. "System Name"). The problem is in the "Using Data Source Wizard". The Parasoft tool is converting column headings with multiple words (e.g. "System Name") to…
-
Writeable Data Source & Test Failures
Good afternoon, I've got an interesting scenario. Say I have three rows on an in table spreadsheet. Each row contains different login credentials (username/password) for Test 1. Under Test 1 I have added a JSON data bank that adds the response "SessionID" to column A of the Writeable data source. Now lets say I run all 3…
-
Java Code to run specific test in .tst File
I have a test file where I have two test. 1. Rest Client 2. Write File Tool named CustomWrite I'm using a java class as below to invoke this test TestExecutionsRequest queueInput = new TestExecutionsRequest(); General general = new General(); general.setConfig("soatest.user://Example Configuration");…
-
BDD intergration with SOATest - The provided user does not have permission to modify this resource.
I use soaTest 9.9 without Virtualize. i tried a simple step to write a file using cucumber and SoaTest. my feature File has below steps: Feature: Integrate parasoft SoaTest with Cucumber Scenario: BDD Test Given I am user 12212 below is json step defn. "stepdefs": [ { "step": "Given", "pattern": "^I am user (.*)$", "args":…
-
Regular expressions for License Access Logs
Does anyone have a Reg Expr filter handy to find the distinct "users" from the ls_access_log on the Dtp License Server? I want to find the distinct "user" not including user=sys_dtpuser. I know there are tools out there but which one would be best for assisting to look for in the sting in the file? thx
-
How to get Index of parent node of a child node
Hi Team, I am trying to get the parents for each child for $item in (/root/Json[1]/item[]/employee[1]/item[]) return /root/Json[1]/item[ - - - - ]/manager[1]/text() This for loop runs thru for all employees where i need to get the managers of each employee. (if there is more employees under one manager, it supposed to…
-
setting ide variables in Soatest
I want to set the IDE variables in SOAtest, for instance the project_loc variable. Where in SOAtest can I set these variables??
-
Custom Scripting using Java
Hi, I have used Java classes as part of Extension Tool.I have the created Jar for those classes.How can we include that Jar in the Tool library so that we don't need to make a reference of it manually.
-
Why Disable Parasoft extension doesn't operate on VS 2017
I am trying to disable Parasoft ext on my VS 2017 , Parasoft extension on VS 2017 doesn't disable . even after VS restart.
-
Parasoft support for Oracle Java in 2019 and beyond
Beginning in January 2019, Oracle will no longer release updates to Java 8 for commercial use (see https://www.oracle.com/technetwork/es/java/javase/documentation/eol-135779.html). Some Parasoft products (SOAtest, Virtualize, C/C++test, and DTP) currently ship Oracle Java 8 as part of the installation. As of January 2019,…
-
Parasoft support for Oracle Java in 2019 and beyond
Beginning in January 2019, Oracle will no longer release updates to Java 8 for commercial use (see https://www.oracle.com/technetwork/es/java/javase/documentation/eol-135779.html). Some Parasoft products (SOAtest, Virtualize, C/C++test, and DTP) currently ship Oracle Java 8 as part of the installation. As of January 2019,…
-
Parasoft support for Oracle Java in 2019 and beyond
Beginning in January 2019, Oracle will no longer release updates to Java 8 for commercial use (see https://www.oracle.com/technetwork/es/java/javase/documentation/eol-135779.html). Some Parasoft products (SOAtest, Virtualize, C/C++test, and DTP) currently ship Oracle Java 8 as part of the installation. As of January 2019,…
-
Parasoft support for Oracle Java in 2019 and beyond
Beginning in January 2019, Oracle will no longer release updates to Java 8 for commercial use (see https://www.oracle.com/technetwork/es/java/javase/documentation/eol-135779.html). Some Parasoft products (SOAtest, Virtualize, C/C++test, and DTP) currently ship Oracle Java 8 as part of the installation. As of January 2019,…
-
IntelliSense on the scripting
Is there a way to get "IntelliSense" working when doing scripting in the extension tool? I am thinking not but want to make sure. I would assume an option would be to do it outside of Parasoft in another eclipse instance or is there some setting to allow this?
-
SOA-VRT via CLI
I am trying to run the soa-Vrt version using "soatestcli.exe". There are no virtualize assets. I keep getting the following error. "ERROR: Error: java.lang.IllegalStateException: Ambiguous protocol URL, cannot determine tool in multi-tool mode: 0, , file:/C:/Users/lch/Documents/DESKTOP…
-
How to use multiple traffic files to Create a Virtual Assets ?
Hi All, We have multiple xml files recorded(traffic files) by another team for a services. We need to create a single Virtual assets from those files. When we combine those file with Notepad++ >> Combine tool and tried to create it we are getting 'The file format is invalid for HTTP traffic' Help us to resolve this issue.
-
Parasoft CLI Issue
while running my project through CLI getting this error. ERROR: : An instance of Eclipse seems to be already running in the selected workspace. Please shut it down and try again. I have closed the GUI Instance before running via CLI. Even I have restarted my machine but same issue.
-
XML Output for Reports
I recently noticed on the reports when a test is run (Report set the report.html) that there is not a corresponding xml file (report.xml) associatied with it. Is there a setting for that? thx
-
Asserting PDF Doc
I have a pretty straightforward question here. I have a GET endpoint which downloads a PDF file. Is it possible to assert the contents of the file?
-
How to customize Quality Tasks eclipse view.
Quality Tasks view can be customized to report static analysis violations and test results. By default, the Quality Tasks view is showing the hierarchy starting from file level: If you'd like to display the violations by any other criteria (e.g. Severity ), then you can customize the view by following those simple steps:…
-
Compare XML and Json Response
Planning to move a service from Soap to Rest Json. I would like to prepare a test suite that help me compare the old Soap XML response with the JSON response.
-
fixed length file issue
I've implemented new datamodel file to parse file with lines start with (HDR, then ING, ABD, DDD, ADR [loop], then TRL) and it works fine but when I added two fields to this loop (SEP & MAN) the datamodel fail to parse them and I can't understand what is the issue I've attached the datamodel with the extra fields and the…
-
How to check assertion status or test result of specific test step
Hi, Can someone please help me check the test result of specific test step.. Or result of previous test step Or result of assertion in previous test step. I can do this on SOAP UI But don't know how this works on SOATest. Thanks, Tarun
-
DB tool resultset format issue
This is the format that we r receiving for a filed from Toad: 01/09/2018 but we are getting (2018-02-15 00:00:00.0)format from DB tool result set. How can we change the format to month/date/year like the way that we are getting in Toad? Thanks
-
Parallel Test Execution
Hi I want to run the same tests in 2 environments and then compare the results . My output is a csv file . Could someone tell me to generate both the environment results in the same CSV file and then compare the results as well in the same file ?
-
Data driven tests
Hi I am new to the SOA test tool and have been working on this tool for couple of weeks. I am trying to run a data driven test with an Exel Inut datasource and output my result to a CSV file. Have been successful to add a row of data in the csv but ,from there on for all the Input data output is added to one single row .…
-
Mongodb query tool
I am trying to configure Mongo db query tool using LDAP Connection, getting following error. MongoDB Query Tool failed with a fatal error: com.mongodb.MongoClient.(Lcom/mongodb/ServerAddress;Lcom/mongodb/MongoCredential;Lcom/mongodb/MongoClientOptions;)V. View Details for more information.
-
passing in the pipe (|) character from data source results in a 400
Hey Parasoft, We are doing some testing where from our data source, we have to have the pipe character in it. Here is the request: GET /voice/v1/accounts/f3c95d8d-36b6-4f79-bd15-10218171b011/billingAccounts/477963001|CAR/priTrunk HTTP/1.0 Host: enterprise.engnew-spectrum.net Content-Type: application/json…
-
Assertions against a Datasource
Lets say I have a Writable DS that has a few entries. I run a REST Call and get a value back and need to verify that value is contained within that DS. Is writing a script to do this the only way or is there a "out of box" assertions that can be used?