-
Condition data fetch in databank using regular expression
Hi Team, I have a situation to fetch the data based on another data value. In this below example, i have to fetch the name which id matches with 555 { "customerName" : "Che", "AccountType" : "Savings", "Country" : "Argentina", "id" : "222" } , { "customerName" : "Nepolean", "AccountType" : "Savings", "Country" : "France",…
-
Condition data fetch in databank using regular expression
Hi, how can I make custom xpath if need to fetch based on a key string present. For example if saving is present in AccountType then only fetch. Occurrence of this is not fixed. { "customerName" : "Hitler", "AccountType" : "XYZ_Savings_XYZ", "Country" : "Germany", "id" : "555" }, { "customerName" : "Nepolean",…
-
Service virtualization
I just started with parasoft service virtualization and created my first virtual asset and proxy in server and linked asset with proxy, when i hit that proxy URL on browser i get my reponse but when i use it in Node project i get CORS error because response from parasoft proxy does not have response header values like…
-
Verify PDF Document is Created
I have an application that can created a PDF report of the data displayed on the screen. Is there some way for SOATest to verify that the report is created when the button is clicked? I only need to make sure that the PDF document is created. I don't need to examine the contents of the document. Would the Extension Tool…
-
Missing "proceed" button at the bottom of the test panel. Why?
Hi, After "successfully" building a test application, running it, then loading the tlog and clog files using test configurations, the bottom of the test panel shows no "proceed" or "configure..." buttons and I can't get the report to appear. Why is that?
-
Oracle Db Connection Issue
I have to connect to oracle sql developer through parasoft soatest tool using service name instead of sid value after port number. I am getting SQL Exception - java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor…
-
Is it possible to set a condition base on CSV data in a testscript?
Hi all, currently i have 2 test-script, checklocation and acceptlocation. is it possible to only run acceptlocation if the location column in the checklocation's CSV is not empty?
-
simulator for file transfer, flat files Parasoft Virtualize
can we simulate file transfer , flat files in Parasoft Virtualize . need info regarding same
-
Access data source table in Groovy script
I am trying to access a table defined as a data source in a Groovy script as part of a web scenario test. This script just needs to get a substring of one of the columns in the table. The error I am getting says 'com.parasoft.data.DataSourceException: No Data Source column named BookingNbr'. My data source is defined as…
-
Java Script extension tool
Hi, i am new to parasoft scripting, when i am trying to create java script using extension tool using below command <head> <script type="text/javascript" src="https://www.google.net?id=01&product=something"></script></head> i am getting evaluate error like this :2:0 Expected an operand but found <, , ^ in at line number 2…
-
Using Atomic Variables to Better Handle Updating During Concurrency
The following forum post goes into detail on creating scripts to better handle changing values during performance tests with multiple hits in parallel. We will do this with the use of Atomic variables and in the case of this forum post example, specifically AtomicLong. AtomicLongs and the other Atomic variables are part of…
-
ArrayList and LinkedList in Java
Hello Everyone, I am confused to understand why does ArrayList takes more time to insert elements at the beginning than LinkedList in Java? Can anyone know the exact comparison between ArrayList and LinkedList?
-
How to stub fscanf?
I am trying to stub fscanf using stub callback but I can't get access to the variadic arguments within the callback function. Anyone knows a way to stub fscanf?
-
Record enter key in web browser testing
Here are the instructions to capture ENTER key in web browser testing First, add the ability to play back pressing the ENTER key. (1) Close SOAtest if it's open (2) There are two copies of UserCustomizableOptions.js files - one for IE and one for Firefox - located under <SOAtest Installation…
-
Working Functionality in Local is not working in CTP - VIRTUALIZE
Hi Team The below framework works in local deployment. But when I deploy the same into CTP its not working Application sent request to STUB (Working) --> STUB stores the Request using Write file in CTP (working) --> STUB forward that request to live endpoint to get actual response using incoming request-SOAP client/Forward…
-
How to access private function from a stub callback?
I have a private function that needs to be called normally or needs to be stubbed depending on the test case. So, I either need to be able to apply the stub of the private function only to specific test case or be able to call the original private function from within the stub callback. Anyone knows how to do either?
-
XSLT Version
Does soatest 9.10.8 support XSLT version 2.0?
-
HTTP Response Code
Can someone share an example of how to capture the HTTP response code from a request to a virtual asset message responder? Ideally I would like to get that value and then insert it into a database using a DB Tool. I have successfully added a DB Tool to the Incoming Request and captured static data, however I am not sure…
-
Test cases are not executed
Hello everybody, I have a problem when i want to execute unit test cases on a folder of resources. I generated the test cases and tried to execute them, parasoft tells me there are 32 files in scope of the tests, which is correct, but it does not execute any testcase. I copied the generate unit tests and run unit tests…
-
Maven install errors
while installing plugin https://docs.parasoft.com/display/FINDS/Parasoft+Findings+for+Jenkins i got 2 errors. i'm not able to understand how to resolve it? [FATAL] Non-resolvable parent POM for com.parasoft:parasoft-findings:10.4.5-SNAPSHOT: Could not transfer artifact org.jenkins-ci.plugins:plugin:pom:3.49 from/to…
-
Error running soatestcli from Windows Task Scheduler
Hello, I'm trying to schedule the execution of tests on a Windows server 2016 with the Windows Task Scheduler using a CMD file that calls soatestcli. If I run this CMD file with a logged account, then the tests runs correctly, the output file shows all the execution and the reports are created. But if I run the Scheduled…
-
How can we parameterize a dynamic URL parameter (not q Parameter)
Here is the path: /eosservices/SOHServices/api/v1/group/SOH/customers/id (dynamic value)/locations?q=customerNumberTypeCode==CDF;statementofHealthReportingLocationID==86A&limit=2 I want to parameterize the "ID" parameter which is going to be dynamic and unique.. i should be able to read the dynamic value from the incoming…
-
unable to update generated variable via script.
I am trying to create a variable that is the abbreviated day of the week (MON, TUE, WED, ...) which I do either via the data generator tool or script. However, I am then trying to convert the variable to uppercase, but this conversion is not working, as expected. import com.parasoft.api.*;import groovy.util.*;import…
-
Is it possible to validate the current selected option with Parasoft (xpath)
In the code I cannot see which is currently selected and I know that what is selected is send to the server. But I am hoping that there still is a way.
-
I am using SQL development for my test case. Can i use same sql development output to validate my te
I am using SQL development for my test case. Can i use same sql development output to validate my test output?
-
Kerberos with SOAVirt Server editions
Can we do Kerberose authenication using server version of SOAVirt? This would be using REST calls instead of CLI. I am thinking yes, because the kereros authenication is contained within the .tst?
-
How to use a runtime parameter in groovy
I am using a groovy script in which I want a to enter a parameter in the method at the runtime. For e.g. : def userId(String input) { //my method } How can I derive the input variable while I try to run the API test case
-
Docker image of Parasoft
Hi wanted to know the steps how to create docker image of Parasoft .
-
Trying to Iterate Through a Table Data Source
I have a data source table containing a number of rows with a single string column of values. I want my test to navigate to a URL, type into an input field the value of a data source row, and click on a button on the web page. The problem is that the first row value from the data source is always typed into the input…
-
Need some help where dynamic values in request parameter
Hi Team, I need some help on below REST service. end point: imservices-qa1-usch01.corporate.ingrammicro.com:9043/ESProductSearchCA_vs2 Body:…
-
how to create CSV files (editable in Microsoft Excel) from Data extracted from tests
Often you will want to extract values that are returning from a test and write them into an excel file. This could be useful when building data sources dynamically from previous tests. SOAtest does not have a native interface to create Microsoft Excel files, however we can easily create CSV files that can be read by our…
-
Cannot instantiate class: com.ibm.mq.jms.context.WMQInitialContextFactory
We are trying to use JNDI connections in queue browser by specifying connectionFactory= com.sun.jndi.fscontext.RefFSContextFactory in parasoft Virtualise queue browser but I am getting error as below for I am using com.ibm.mq.allclient-9.1.5.0.jar as well as fscontext-4.2.jar Cannot instantiate class:…
-
cpptestcli does not fail if a test suite has a compilation error
When using cpptestcli from the Processional version of C/C++test, I've noticed that if a test suite has a compilation error, no failures are generated by cpptestcli and the other test suites are executed. The only way to determine that a test suite didn't run is by looking at the number of tests executed. When ruining unit…
-
I want to iterate rows from table with rows from writable in following manner
Suppose my table has T1 , T2, T3 rows and my writable has W1 , W2, W3 rows so now I want to pass T1 = W1 in first iteration , T2 = W2 in second iteration and T3 = W3 in third iteration. But currently it is passing first row of table to all rows of writable which is not valid scenario bfor my functionality. So anyone tell…
-
How to parse and validate a file through XSD
I have multiple type of file format and we have define all this rule in XSD and our oracle SOA suite is using this XSD in parsing any kind of files. i.e I have pipe, comma, fixed length and special character separated file data. Now I don't want to write the big code again for the parasoft to parse and validate the file…
-
User Action Click on Defined or Undefined Link
I have a web app that I am creating a SOATest test for. In a table there is a link that may or may not be present. If it is there, I want to click on it. If it is not there, I want to have the test go to a different URL instead of the one that the test would have gone to if the link were present. I have tried a few things…
-
Announcing the 2020.1 release of Parasoft SOAtest, Virtualize and Continuous Testing Platform
The first release of the Parasoft enterprise functional testing products in 2020 is now available! In this release, there are several enhancements aimed at making API test automation and service virtualization easier and more productive for DevOps teams. Additionally, we have created a brand-new service virtualization mode…
-
Read message on IBM MQ
Hi All, I am looking for help regarding, how to read a JMS message header/body from IBM MQ by SOATest. I am exploring the options but no luck so far. Actually as soon as message is pushed by a REST API to MQ, I have to validate some custom properties in JMS message on queue. Any help in this regard is highly appreciated.…
-
LOG Validation
Hi All, I wanted to capture and validate the downstream calls(logs) when i hit an api request. Can you please tell me how we can track and view all these downstream calls and if possible also how we can track and validate them
-
Parasoft License
Hi wanted to know if we get Parasoft floating server license can 100 different users do development in SOATest using same license or they need individual license on their mahcines
-
No Nodes Found - XML Data Bank
Hi, On XML Data Bank step.. when i extract an element, and click on "Evaluate Path" - i see "No nodes found" result. How do i get value? i need this values to perform string comparison assertion. I also tried setting "Extract empty element as: [null]" - this did not work either.
-
Pattern check in request header field
I need to test the pattern of value present against field x-et-user-id, it should follow the pattern - AS000xxx How to acheive this ? Below is sample request header for reference. POST /asasa/zxzzx/zxzxz?asa_wewe_rtrt=024bddd0-5739-11ea-82b4-0242ac1300 HTTP/1.0 Host: abc.com:8443 Content-Type: application/json…
-
Xpath: How to search in all child elements with certain text (browser validation tool)
I have a number of p elements in a div and I want to find a certain text within all of them. For some reason I can't get it to work, it finds only the first p element. Does any one know what to use differently? Element property: I've tried both text and value here (with and without [1] ) Xpath:…
-
need a way to generate ASCII non printable characters in notepad or any other documents
need a way to generate ASCII non printable characters in notepad or any other documents
-
How can I test that a response header equals a certain value?
I have a rest command that returns a Content-Type of application/octet-stream and a Content-Disposition with a filename. What is the best way to validate that the values returned in the headers are what I am expecting?
-
IBM websphere mq - Message selector
I have configured the IBM websphere mq in my virtual asset. But now my requirement is that listener will fetch the request from the queue if certain condition is matched. There is an field named as Message selector where we can define conditions.but I want to know the exact format / syntax to put my conditon in that field.…
-
Return statements in anonymous functions causing unreachable code warnings?
I have some .NET C# code being analyzed with parasoft and it's flagging some fairly annoying warnings. The code has an anonymous function that contains a return statement that continues on to some other code, but I'm getting "unreachable code" error CS.PB.USC.UC-1. Response _response = await…
-
How to add to traffic file into one and use that to create virtual asset
Hi team, Can anyone help me to merge two traffic files into one. traffic files are attached. thanks Nihar Arisal
-
Getting error while trying to add data repository server using localhost
Hi Team, i am getting an issue while trying to add data repository server using local host. version: SOAtest 9.10 can anyone help on this please Thanks Nihar Ranjan Arisal
-
We have just released C/C++test 2020.1
We have just released the C/C++test 2020.1! The release introduces a collection of exciting functionalities. In between many other things, I’m very proud to announce: Static analysis extension (plugin) for Visual Studio Code editor Visual Studio Code extension enables static analysis capabilities of the Parasoft C/C++test…