-
I want to add the amount and assert the total to a value
Hello, SOA test : 9.9.5 I have an API where the response will be the clients accounts details like(accounts name, Category, amount and etc). I want to add all the different accounts "amount" and assert the same with the "total balance" field. please advise. Thank you. regards, Neil
-
Get the values of two Data Elements with the same name
Hi All, I am trying to grab the values of two tags with the same. See XML structure similar below: 1 2 </Data Set> This XML Structure comes from context Thanks for your help
-
Whitespace issue with SOATest - Help Needed ASAP
We have XML based request and response. When we get response back from our server or database in XML format and if the same response has whitespace at the beginning or at the end of the tag, SOATest response in Traffic Viewer --> Literal beautify the XML by default and doesn’t show the whitespace. Example: Here is one of…
-
How to generate Individual Hits report using commands in Linux
Hi, I am running my load tests in Linux and the .rpt file will get generated once the test got completed. Generating individual hits report from the .rpt file takes more time since the file size will be high (around 350 MB) and also it takes more time to copy from linux machine to windows machine. Please let me know if…
-
how to validate if response field is expected to return X and Y.
Hello , I want to assert on a a response field(string comparison assert) . But the response field value returns X and Y . Both values are Valid. I want my assertion to pass the test in both cases. I know we can assert on one expected value. can you please advise which assertion to use to validate the same field with two…
-
Implementing WCF Service Virtualization
Implementing WCF Service Virtualization Description: This document can be used in conjunction with the .NET Routing Service documentation to assist users in setting up their WCF service for Virtualization. We will be focusing on the second method of configuration using a Virtualize Proxy and specifically reviewing the…
-
Merged: How to activate a Community Edition License.
This discussion has been merged.
-
How to extract empty tag values into a data bank
Hello, tool: SOA test 9.9 PART 1 I am extracting a value to data data, sometime the data is expected to be empty. The data bank throws an exception that: No nodes found. I want to retrieve some value even though the value is empty. I tried to go into option of data bank and set extract empty value as 'a' - But it did'nt…
-
How to assert the length of the field.
Hello, In SOA test 9.9 . Is there any specific assertion to validate the length of fields coming in response? e.g: I want to apply and assertion below field should be always 16 digits: 123456874874834 Regards, Neil
-
Match all request body elements from traffic txt file?
I recorded HTTP traffic using proxy, i can use the traffic file to create VA, but i want the responder correlation match all the request element from traffic request.(No more no less) How can i achieve this?
-
X-path going back to a different field in same payload
Hello, I want to apply an assertion on below fields only when the "name" : "woodGundyDeposit"... "categorization" : { "category" : "NON_REGISTERED_INVESTMENT", }, so i am going to name field .. But I want to know how to come back and assert on Category field.…
-
How to apply an x-path into an array.
below is the sample JSON response, I want to get the documentid whose "subcategory" : "Loans" only i tried below, didn't work out. //documents/documentId[subcategory="Loans"]/text() I want to apply a condition on subcategory field and retrieve only document id which satisfy the condition mentioned. { "documents" : [ {…
-
How Do I Load or Use A Provided WSDL Link?
I have been provided a WSDL link to try and get some experience with but I don't know how to load or access it in SOAtest. How do I load or use a provided WSDL link? At the moment I have only an empty SOAtest project. Regards, Bright
-
How Do You Create a VirtualAssets Project?
I am trying to add a WSDL file for the first time to a project as shown in the "Create a virtual asset from a WSDL service description" video at https://parasoft.com/support/service-virtualization-and-api-testing-how-to-videos/ and while they show how to add the WSDL file they don't show how to create the VirtualAssets…
-
Is it possible to create the script for Virtualize?
Hi, We are virtualizing the wsdl by recording the traffic and creating the .pva file. Is there any way we can automate the whole process of recording, creating the .pva file and send the request, change the xml values autoamtically. Thanks
-
How to fix java.lang.runtimeexception error initializing storage while launching SOAtest
Hi Team, We are receiving a error " java.lang.runtimeexception error initializing storage , An error has occurred. See log file null" while launching SOAtest. I didn't get any help from recent posts in Forum and its blocking the execution. kindly Suggest the solution for this
-
Ports: DTP Engine -> DTP
What is a complete list of ports that has to be opened between the Build Machine where Engine (or Desktop) is running and DTP Server by default? Default port for Data Collector is 8082 as far as I can tell. 8443 I assume should also be in the list. Having complete list for use cases: DTP : Engine / Desktop DTP : PIE would…
-
DTP Engine - custom folder for user rules
Is there a parameter that can override the default user rules directory? By default - it's here: [INSTALL_DIR]\rules\user\ What if I want to put my user rules under version control and map to some other directory?
-
Looping
I have a XML source pulled in from calling a .jar file. I need to loop thru that XML file based off xpath and send each one to a soap or rest service. How would I do that?
-
Changing the LoadTest Java Version
Edit: To incorporate benken_parasoft suggestion: To change the Parasoft Loadtest Java versions: * Execute Parasoft Loadtest with the "-ask" argument: * A menu will pop up with choices of different Java versions that can be detected and an option to point to a Java installation manually: * Selecting "Ok" will initialize…
-
How to create virtual asset for JMS services in parasoft virtualize
How to create virtual asset of JMS queue from request response pair in parasoft virtualize
-
JMS Monitoring
Could Not create JMS IntialContext Instance Hi, I am trying to monitor the JMS send and Receive messages in SOAtest 6.2 using Java Message Service option available in SOAtest. I am using ORACLE WEBLOGIC SERVER 10gR3. But When I am given the server details in SOAtest click on next it is showing error pop up saying "Could…
-
App Config Settings
Hi, I have a set of unit test created using microsoft visual studio unit test project. This set of tests are all able to pass successfully when i run it using the test explorer that comes with visual studio. I realised that all these test cases are also loaded automatically into parasoft's Test Case Explorer as well.…
-
Static Analysis Rule Maps - the difference between 9.x and 10.x and migration from 9.x and 10.x
Static Analysis Rule Maps - the difference between 9.x and 10.x and migration from 9.x and 10.x Rule maps functionality allows users to customize properties (such as category or severity) of static analysis rules. In addition, the rule map interface also allows you to upload custom rules. DTP 5.3.2 (Engines 10.3.2)…
-
Using variable preceded by backslash
I'm trying to assert on a xml tag that should contain a file path. I configure a String Comparison Assertion "Element must contain/Expected value/Fixed" with the following value: ${rootfolder}\${variablefolder}\filename.xml. This gives an error message like "should contain expected value:…
-
How to convert binary format bytes into PDF via parasoft tool.
Hello, I am using parasoft SOA test 9.9 . I want to know how to convert binary bytes to PDF format via Parasoft SOA test tool. Is there any Add-in or extension tool to convert binary bytes into PDF and view the same via browser.
-
DateTime Diff based on current time
Hi, Is there a simple way to use a DateTime Diff with Base Value == test execution time or current system time? Any kind of ${now} variable that exists???
-
UTA in support of Test Driven Development
Where can I find out more information on the use of the Unit Test Assistant and more specifically how it would be used in support of Test or Behavior driven development?
-
Maximize window and screenshot capabilities using Chrome 57 in SOAtest 9.10.1 and earlier
In Chrome 57 the ability to take screenshots or maximize a window when using the Selenium engine for playback is broken in SOAtest 9.10.1 and earlier due to an issue in ChromeDriver (see https://bugs.chromium.org/p/chromedriver/issues/detail?id=1625). The ChromeDriver team fixed the issue in version 2.28 and the updated…
-
How to customize the return status for same responder?
I need to achieve following things. 1. 10% Calls should respond with HTTP 404 or HTTP 500 3. One of the services should get failures (HTTP 500) for 15-20 minutes and then it should pass (200 ok) for 15-20 minutes.
-
Grabbing and storing Details from a SQL Server
Hi Everyone, I have a few different scenarios. They do not happen at the same time a request comes in. * I just want to ask how can we grab some values from SQL server and use it to send to the xml response * How do i generate a time stamp in this format "2015-12-18T19:44:18.103" and store it on the SQL Server.
-
LDAP/Active Directory support
Can Parasoft Virtualize simulate an Active Directory (LDAP) connection (with an associated limited dataset, of course) so that an intermediate service under development could then access it?
-
Read and update data in CSV , doesnt pick the recent data
I have to consolidate the report data in csv format. After each test suite run I update the csv with the latest paremeter value and use this as a datasource to the next test step. However even if the csv is updated somehow it picks the old data present and uses in next test step. I have also tried deleting the old csv and…
-
Test Suite Reference - modifying and seeing/using the changes in the referencing test
When you modify the original test used as a Reference Test in another test suite, the changes will not immediately be visible in the referencing test suite and will not immediately be picked up when running the referencing test suite. For example, if I were to create a Logon test with username "john". I reference that…
-
Help with extracted data.
I am new to soatest. I am extracting data for other request. But sometime, my variable is not read in my request. how do i resolve it.
-
Test stops with message Setup Problem
Hi I am getting below errors while running a static analysis using cpptest. C/C++ code checker: error during parsing file (ignored - "Analyze files with parse errors" option is enabled). "/usr/include/c++/4.4.7/bits/cpp_type_traits.h", line 71: error: expected a ";" template This interface file is from tool and I don't…
-
Test execution: error linking test executable for Test unit for selected sources.
What is this error, what is the resolution for it? the error "Test execution: error linking test executable for Test unit for selected sources." comes while running the unit tests.cannot open output file C:\Aegis\Workspace.cpptest\Component_U\unit-data\current_tubf179707\Component_UTest.exe: Permission denied collect2: ld…
-
how to generate and populate localsettings.properties files
localsettings.properties files store important information regarding Parasoft tool's stored configurations as well as project parameters. A localsettings.properties file is required to utilize CLI integration, back up an installation, or transfer configurations from one installation to another. You will first need to to…
-
Custom Jython Responder Correlation
In V9.1x, has anyone been able to get a custom correlation to work that uses regex? Example below from java.util.regex import *from java.lang import * from com.parasoft.api import *def correlateOperation(context): requestHeadersStr = context.get(CorrelationScriptingHookConstants.HEADERS) # Map<String, String>…
-
HOW TO EXECUTE JAR FILE USING JYTHON OR GROOVY SCRIPT VIA EXTENSION TOOL
we are trying to run jar file with a parameter which will generate data files and load into a folder. used to do with windows bat file but its not working in linux, so was trying to see if groovy or jython can help. Tried this but getting error in jython: from java.lang import * from java.io import * from soaptest.api…
-
Parasoft SOA test, I want to RUN the same .tst 100 times with out datasource
Hello, I want to RUN the same .tst 100 times with out data source. we press f9 to Run the test once , can we do it in any other way to RUN the same 100 times. if we use excel sheet, then yes , we can cope the same data to 100 rows and RUN all rows. but my requirement is i am not using excel sheet. tool : parasoft SOA test…
-
Using Custom Responder Correlation - Groovy
I am trying to read values from the request using Custom - Responder correlation and compare it with values from excel. How do I get a unique row from excel data source in the script?
-
I want to truncate first few numbers in 16 digit number using xpath(databank)
Hello, I am using data bank to retrieve a value to use in subsequent test. But I want to truncate the value and need only last 4 digits of 16 digit value. This is the x-path /root/card[1]/value[1]/text() This is the result of x-path. 4506446460519412 when I press evaluate x-path , i should only get last 4 digits "9412" can…
-
How to use the stash reposotiry/GIT -checkin /checkout with parasoft SOAtest
I have to create a different working folder , copy the workspace and then check in to stash/ git . Is there a way to directly commit the changes / pull from the repository using parasoft and GIT /Stash
-
Ideas/Suggestions - Dynamic Parameters
I have a requirement where responses should be very dynamic based on the request. Based on the incoming request elements , elements/array of elements in response should vary. I m trying to minimize the no of res ponders and manual data setup. Currently i m achieving this scenario by using xpath(function count/exists), Data…
-
SMTP Messaging client with file attachment
Hi! I was please to discover that it is really easy to send an email using a Messaging client tool. I want to test a workflow that is started when an email is received. Anybody knows if it is possible to add attachments to the email? Additional headers or ways to format the request??? Thanks!
-
Standard Process for Upgrading JTest Eclipse Plugin
Hi Parasoft. We recently received your advice on best practice for upgrading Parasoft Desktops / Eclipse plugins. We wanted to share this process on the Forum for other users/customers. Please will you review the process steps and comment if any amendments are needed. The requirement was: to upgrade the JTest Eclipse…
-
Parasoft Virtualize Community Edition - "How to" Webinar pt1 - 3/7/2017
Hi Everyone, Next week we are going to do a “How to” webinar for Parasoft Virtualize Community Edition. During this webinar, you will learn how to create and deploy the virtual assets presented during the Community Edition Launch Webinar previously done on 2/14/2017. · Setup your license and get the latest updates. ·…
-
Deploying services across multiple ports
Dear team , We have a default port where we are deploying the virtual services to the server. Each pva will differ by their base path. Is there any way visualize server can listen on multiple ports to deploy services with different ports.
-
how to get the iteration count and assertion details in report generated
I need the report in a format 1. I should be able to see all the assertions added in the script. Failed as well as Passed assertions. Currently report shows only failed assertion 2. The number of run the testscript ran .Passed and Fail count of the test script.( One test script has combination of 20 test data , in the…