-
Store multiple test Result into a same writable.
I would like to use a writable to fetch values from different tests and write into a same writable. Existing writable settings work fine for fetching multiple data from the same test. Expected scenario to replicate : * Create a writeable A at the test suite level * Create a new Test 1 by clicking on Add New – Test . I…
-
SOAtest (9.10.6) web tests Dynamics CRM (MS) very slow
Hi there, We are trying to capture some (browser/gui) regression tests in SOAtest 9.10.6 based on a Microsoft Dynamics CRM web application. The problem is, playback is very VERY slow... anyone having similar experiences? I've tried removing Wait Conditions, nothing improves. I've updated Chrome to version 70, nothing…
-
Integrating SOATestcli with Jenkins
INVOKING SOATESTCLI THROUGH JENKINS Navigate to the Jenkins Dashboard and create a New Item to create your automated test case. Once named and created click the drop-down near the Name of your test Item. Next Add a new "Execute Windows batch command" Build Step Input your SOAtestcli commands: Here is an example CLI…
-
Execute SOATEST from Rest API thru Eclipse
I downloaded Maven startup project from localhost/soavirt/api location for Soatest V3 When I try to generate sources as mentioned in Readme.text, I'm getting error for dependencies related to V5 import com.parasoft.api.v5.* import com.parasoft.api.v5.status.messages.StatusResponse; import…
-
datasource
I want to access method globally. However, I have different payloads with different datasource. Is there a way to determine the datasource of the payload that it needs to access from the method call.
-
scripting groovy TestSuite Variable REST
I do this in all my SOAP messages to store TestSuite Variable and it works perfectly. However, when I apply the same logic to REST. It doesn't work. myTransactionId ='1234' suite = context.getParentContext().getParentContext(); TS_Var = "uniqueId" myVar = suite.get(TS_Var); suite.put(TS_Var, myTransactionId ) I notice that…
-
Suggestions for how to assert test with embedded json in xml response
I running tests on a service that return an xml response, but some of the information is in a json format. I need to validate the json part of the test, and I don't know if there is a way of doing this without custom assertions. Has anyone done something like this before? I need to assert for instance, that the count of…
-
import dotnet functions into SOATest
How can we import dot net functions into SOATest?
-
Date Math Tool is not getting enable
Hi Team, I am trying to use the Date Math tool for our test purpose. which is not getting enabled whatever the values that we feed. Please share the example of input that we need to enter in the tool. Regards Udaya
-
Scheduling .tst file in local
Hi, Is there any way to schedule a .tst file to run for regular intervals in local ?
-
Received fata alert: handshake_failure
while running soatest and executing any webservices Test cases its throwing "Received fata alert: handshake_failure", could anyone please suggest how to resolve this issue?
-
Data Drive SOAP Requests as one Message
I would like to data drive my soap request message. For Instance if I have DS (excel, csv, etc) that contains Item Numbers (item1, item2, etc), i want to have each one set in the soap request xml and sent over as one message instead of for each item. What is the best way to do this? Attached is the repeating part of my…
-
Date format type is getting changed in Mongo Query DBTool
Hi Team, We have date saved in MongoDB as ISODate as shown below. "OrderCreatedTime" : ISODate("2018-11-27T13:22:38.792+0000"), But Mongo is giving as long numbers "OrderCreatedTime":1205914730149 Could u please check it. We are not sure why its getting changed in MongoQueryDBTool. Regards Udaya
-
globally update a specific element with the script on all payloads
I got an element called amount. I created a script for it. My question, rather than going through each and every payload to update the amount field with the script. Is there a better way to globally update the amount field with the script on all my payloads.
-
CPPTESTCLI - Is there support for IAR project under Windows ?
Hi, IAR project under Windows , Is there support for cpptestcli command line for IAR ? Thanks
-
OutOfMemoryError : How to increase the memory for C/C++test Standard
If you see an OutOfMemoryError in the cpptest.log, you might need to increase the max heap memory for the analysis: install_dir/etc/cpptestcli.jvm In this example we suggest doubling the size of the heap.
-
Running Insure++ on command line
Hi all, I am rather new to insure++ and will like to check whether is it possible to run insure++ on a visual studio solution through the command line? If yes how should I go about doing it? Because now I am only aware of using the IDEs to run the insure++ test
-
How to obtain and display multiple code coverage types
C/C++test Professional supports many code coverage metrics. You can see the list of all metrics enable any of them in your Test Configuration: You can review and enabled all required coverage metrics. Be advised that adding more instrumentation affects the size and performance of the test executable. After you executed the…
-
MQ Websphere client
do we need to have websphere client installed on the machine if we need to create tests for MQ client ?
-
REST GET service working in Postman but not in SOATest
HI, I have a GET request which works fine with Postman and fetched all 200+ records JSON response successfully. When tried the same in SOATest it shows StatusCode 200 but doesn't fetch any details and just shows following. No error displayed. { "start" : 0, "total" : 0, "rows" : [ ] }
-
Unable to specify cpp sln to run Parasoft test on command line
Hi all, I tried to run parasoft test on command line with the following commands but failed to do so, can anyone advice me on this? it returns >> Option -solution is not supported. Use -data instead And how do I use -data command? I try to use -data and point to the path directory (ie -data "C:\XXX"), and it is able to run…
-
How to Attach a file along with the payload in Parasoft SOA Test
Requirement is to Post the payload along with the pdf file.How I can attach the pdf with the payload request.
-
How to set the proxy settings using parasoft soatestcli
How to set a proxy settings using parasoft soatestcli. I am running the test using jenkins. I want to call external api using proxy. how to do it.
-
Stubbing out Internal Functions inside Static Library
My code under test calls another function, I'll call function A. Function A lives in a linked in static library called SL. Function A inside SL calls Function B directly which also lives in SL. I want to stub the call to function B. In this configuration, is this possible? In more general terms, can I stub an internal…
-
Assertor Validation Result Capture
How to capture and pass the test result status from assertor (pass or fail) to extension tool for some internal reporting?
-
Input mode: Scripted (JSON Rest)
I am planning to use the scripted(input mode) REST. Here's an simple example of JSON message Example1. What I would like to do is to use context.getValue as part of the JSON message shown in example2. I have added the script to pull json message below. My question is there a way to get the value context.getValue as part of…
-
Refresh WSDL
I am automating SOAP services, I am passing the WSDL in the wsdl section. I want my SOAP clieny to automatically detect the wsdl and update the definition?? Is it possible?
-
scripting remove empty elements
I need to removed the empty elements using script.
-
Is there a way to keep Parasoft VS plug-in if a version is been change.
Hi, Is there a way yo avoid reinstalling Parasoft plug-in from VS if a new version of VS is been installed. i.e. Changing from Ent to PRO ? Thanks
-
Bit bucket integration
is eGit v5 supported by Parasoft?
-
Structure Report in SOA
I'm seeing an option called "Structure Report" when right clicking on .tst file. What this option will do ?
-
fetch test case name by Groovy script
I had 2 questions : 1. How to fetch test response by groovy script. 2. How to get test case name by some runtime script using groovy
-
How can I Assert the number of child elements in JSON
I have 20 child elements for the parent element in my JSON. How can I assert the number of child elements is returned the same? I only want to assert the number of child elements.
-
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.