-
How to validate element value with group of elements?
I am getting rest service response in below format but i want to validate element value with my predefined data sources 1 Developer 5 Tester 7 Admin i have data source which have all roles allowed in my list ( Developer,Tester) now i want to validate all the roles from response against with my data source using parasoft…
-
How to branch to execute a different json assertion based on a status code value
I would like to branch in my test after making a rest call based on the status code. For instance. If the status code is a 200 Response Traffic -> JSON Assertor Good Return else Response Traffic -> JSON Assertor Bad Return I realize I can have two different tests with datasets of positive and negative tests but I am trying…
-
Reading XML file from local folder one by one
hi , i have bunch of XML files in local folder, i want to read each file one by one and export certain fields to excel. i am able to do for single file, but what i need is, after if finished test, it need to go and pick next file and run test for single file i am going into test request tab , selected Literal XML from…
-
SOAtest DB Tool spool to csv
Hi, I am trying to use the SOAtest DB Tool for spooling the output to a (csv) file, which can be validated afterwards in e.g. a CSV client. Is this possible, because I keep getting sql exceptions and I am confused of the correct syntax (usage of semicolons), begin/end blocks For example: spool test.csv…
-
SOA TEST Report
Where is it getting the task by author value. Can I set a generic value for the author .
-
Saving Dynamic JSON output in CSV in Columns
hi is there any way to save complete dynamic JSON output in csv in columns . right now i used write file and saved in CSV but it is saving in one row. my expectation is to save all json values in csv with 2 columns , field name and field value. i cant use data bank because json file is dynamic, one file might have 10 field…
-
How can I access a JSON Databank value in a Extension Tool using groovy.
I get the value from a response in a JSON databank. I can use that value in a next Test Rest Client call in the Headers by accessing ${varName}. I want to access that value in an Extension Tool. Is this possible? I have tried ${varName} and context.get(varName) but always getting the error avax.script.ScriptException:…
-
How to access a property variable in a Rest Client URL
I want to access a variable like &{test_env} in a url while doing a GET in a Rest Client Test. The url would look like https://mysite.${test_env}.com where test_env is a property which was created in a parent test suite using context.put("test_env", testEnv). I am including a .tst file that reads an excel spreadsheet in a…
-
SOA Test Project
I have completed my SOA Test Project named. Pays which is a folder inside the SOATEST workspace. The DATASOURCE and SCHEMA are all pointing to the Pays folder. I would like to create a version of the existing Project to Paysv1 for any new updates created. Is there a way I can point the DATASOURCE and SCHEMA to the new…
-
SOATESTCli
Are you allowed to run multiple instances of soatestcli at the same time. I tried to run this through Jenkins and it failed.
-
MongoDBQueryTool 1.1 from Marketplace
I noticed the MongoDBTool 1.1 from the marketplace only supports up to Mongo 3.6. Will there by anything in the future to support Mongodb 4.0? thx
-
Automating Copy content from UI in to Notepad/Excel/CSV file
I am trying automate scenario where we need to copy the values displayed in Browser UI and paste them in an notepad/excel/CSV file save in local and compare UI values with local file. Can someone please suggest how this scenario can be automated using SOA PARASOFT.
-
how to assert json response based on test case in excel spreadsheet.
How can I do the following. This is pseudo code. If test case from excel spreadsheet = 'test_1' then validate element_1 in json return value is equal to "true" I tried to use a json assertor that does reference (lists) my excel dataset but there is no way to reference a column from that dataset. I can only reference…
-
Source Control Problem
Daer Parasoft Team, After i scan cli, i find this error. what that;s mean ? and how to fix it. Thank You
-
Question about "translation unit" in RuleWizard
Hi. We need to use RuleWizard to creat a new rule. The thing we want to do is getting all functions in two or more translation units. Can we do that? If so, how? Thank you for reply.
-
SOATest using old data that works. I must be using machine learning:)
This is a bit long scenario but would appreciate any info. I am new to soaTest. I am using a data source .txt file to validate postgres datatypes. I wanted to test min max and max+1 of an integer type. I have one record in the dataset. I am using a rest post. I then ran my test using the data source file with 2147483647…
-
Element option in FormXML vs Literal View
Hi Team There is an option for Element in Form XML View "Use Data Source: exclude with empty string:", this helps to set to empty when there is no data available for this element in data source. Now whats the problem is changing to literal view (to make some updates save ) and coming back to Form XML view is clearing this…
-
Create a responder using WADL
I have WADL to upload but I do not see such option under service definition to create a responder. I could see WADL while creating a test but there is no such option available under service definition while creating responder. Can some one please help on how to add WADL to create a responder ?
-
DB Connectivity
I'm trying to connect Oracle DB using Data Sources. I have given valid and correct host, port, sid and other values in connection parameters. after entering the query, when i click "Show Columns" , it is giving "Can not execute query". * may i know why i am getting this error? * are the connection successful? * Is there…
-
Trailing white spaces are being removed from the request body.
Hi, I have a request body with trailing white spaces which are removed when the test is run. The response received for this request is successful. When i use the same recorded file to create virtual asset and run my tests through SOAtest, it works fine. However, when the same test is run through CTP using this virtual…
-
Extract dynamic value from Web page
Hello, I'm recording web page using browser play back tool (using SOATest). The fully loaded web page is captured in Browser contents viewer. I want to capture grey highlighted number (which is dynamic value)into my browser Data bank. I have tried extract value from the element by right click on the element and extracting…
-
Data Source Corelation for JSON request body
Failed to respond to incoming message using data source row correlation Values in incoming message did not match values in the data source "test" 123456789 I tried to correlate the ID filed from the excel data sheet with JSON request body. Below sample format. But am receiving above error while testing { "id" : 123456789 }
-
Jenkins Parasoft Integration
We purchased parasoft c++test, jtest and dtp. But they are installed a specific machine. Our lisence ia not floating. But we use jenkins with maven nar projects. We want to integrate parasoft c++test to maven and jenkins. We use your documents which are related Jenkins Parasoft integration. When we run maven nar projects…
-
Maven NAR project Parasoft C++Test Integration
We noticed that Jtest and Maven can easly integrated. However we did not find Maven C++Test plugin for native project in Maven. How can we integrate Parasoft C++Test with Maven NAR?
-
How to get the ip Address of the System
Hi , I am working on a Service where i need to provide my ipAddress in the returnURL. Can some one let me know which method to use in Jython to fetch the IP Address of my system such that when i run the test it automatically fetches the IP. Thanks
-
Reset RunId inside Dynamic Stubs
I am running Unit Testing in the following environment: Eclipse: Kepler Parasoft: 10.3.4 I am using dynamic stubs to do unit testing. I am calling the same function multiple times inside a single test case, and that function calls additional sub-functions that are stubbed. I know that I can set the Run Ids to control the…
-
Parasoft Jenkins Integration
Hi, I want to use Parasoft with Jenkins and maven. For integration is Parasoft SOAtest necessary? Because We purchased only C++Test, JTest and DTP from Parasoft company? Could you help me for this integration? Best Regards
-
SOAtest Create XML from multigroup XSD
Hi, When attempting to create an XML file using SOA test and XML Schema creation (with XSD and datasource containing the contents), I end up with one test per group of XML (header, body, subheader etc.). I can attach a Write File to each of them and append to the same XML output file. The result however is an XML file that…
-
Looking for a way to iterate each row in multiple datasources
I have 2 key tables, but could have more, and am looking to iterate through each row in each table independently but for a single request. for example, table 1 has row 1 though 4 and table 2 has trows 1 though 12. I am trying to get 48 combinations, without coding all potential combinations in one table. I tried an…
-
How to configure Event Monitor for added Virtualize server
Hi Team I am able to see local server logs in Event Monitoring where as i dont see an option to switch that to added virtualized server. Let me know the options to monitor server request response pairs. Regards Udaya
-
Getting error while adding the server
Hi Team, I am trying to add server in virtualize tool and getting below error. Actually we were able to check the server status in EM and its up and running. How to troubleshoot? Tried with 2 options http and https(Used dtp setup credentials). Additional Info: DTP has configured and my user information has been added
-
I want send empty value from xls sheet without excluding element
I am using parameterization, how to send empty value with out using excluding dob.Eg: dob : “ “
-
Insure++ 7.5.1- Release_notes and Readme
The Release notes and Readme Files haven't updated for Insure++ 7.5.1(windows&linux). both files shows 7.4 information
-
How use the variables mentioned in the .env file using environmentConfig ?
I want to use different environment file for each environment. I have exported the file(smoke.env) and placed in 3 different folders(DEV,SIT,PAT). The values of each environment variables vary as per the environment. I want to execute the script from .cli mode. Wen I tried to use -environmentConfig "Path of .env file" from…
-
Common/Global Tool and script section for SOATest
In expanding test cases, I have found that I use some tools repeatedly throughout various projects/test in SOATest. While there are global datasources, I have not come across a way to implement global tools or scripts. Some examples of global possible scripts I use today are JWT/JWE extraction and validation, curl creation…
-
Tree View for Nested folders of a project
Has any consideration been given to, or is this just a setting I am missing, to show items within test explorer, and other similar areas, in more of a tree view rather than a flat view? I know it is alphabetical, but that is hard for some...lol. As test libraries grow for a project, organization becomes a little harder…
-
Environment Manager job is not getting called by another job
Hi Team, We have a configuration of 10 jobs called by a single tst associated with a job.We are trying to execute that job using bamboo. In this situation job called by bamboo is not calling another jobs. Let me know if you need more clarification. Regards Udaya
-
capturing response time of API
can we have response time printed to every API that I hit from my SOAtest automated suite? Suppose i have a scenario.. to test this scenario I have to execute a sequence of test steps, each of these test steps is again a separate API. So, i want to capture the response time of each of these APIs and present it the report…
-
Create an HTTPS Endpoint
Hi Team, I have a requirement where ESB send an HTTP request to downstream in return it sends an HTTPS response. Now when I create my virtual assets the Endpoint is displayed as HTTP. I would require it as HTTPS, highlight in yellow. Could you please help me on this. Is there a place for me to change the request type in…
-
SOAtest Create CSV file from Excel datasource
Hi, I try to create a CSV file from an Excel datasource, containing the contents. I have used a CSV Client and as output a Write File hooked to the Request Payload but cannot get it to work. I have tried fiddling around with the different input modes, but up till now no satisfactory outcome, especially when having multiple…
-
SOATest denies the user from Windows 10 desktop
The user was fine connecting from Windows 7 desktop. However, once the OS was upgraded to Windows 10, the user is not able to connect to the SOATest server. The license server access log shows 'REQUEST_DENIED' message. What could be the cause? Thank you!
-
SSH into another server from SOAtest
I run SOAtest from my laptop. After certain actions, I would like to be able to have SOAtest, using a custom script, SSH into a Linux server, issue a command in that server, then exit. I assume that this can be done in a java or groovy script. Anyone have any thoughts? Thanks
-
DB Tool Returns a Value of 0
I have a situation where I am comparing a Source DB Table (SQL Server) to another DB exposed thru a REST API. I get the data from souce and pass in query to the API to get the result and then do a diff on message. That part is working fine, however if the source column is of Datatype Integer and is Blank, SOATest returns a…
-
Getting XSLT from Writable DS or Variable
I am storing the actual XSLT code in a Writable DS. I need access to it but it seems like the XSLT tool wants a "Relative Path" or direct path to the file. Is there anyway to get just the XSLT Syntax from the Writable DS?. When I set the variable in the XSL file box. It outputs the below The XSL file…
-
Decryption Failure
I'm encrypting password in java class, using MCipher (base.jar). Using encrypted password in my service. Its giving "General_Error", Unable to process your request response. When i search logs, im seeing "Exception while decrypting Password". I have added base.jar in my ExtensionTool under ModifyClassPath. Please suggest…
-
Is it possible to reference data source columns with a prefix value?
Hello, I was wondering if there's a way to reference a data source column using a prefix value similar to referencing environment variables. I have two data sources with each using their own Excel file. I see request clients able to specify which data source to use. If I select one data source, is it possible to still use…
-
Parasoft SOATEST Certification
Hello, Is there parasoft soatest certification available. If yes please guide me how to take it. Thanks!
-
Static analysis violation
Hi I run the recommeded rules in c++test. I take a several violation in code. I did not interpret one violation which says 'Value 42 is out of acceptable range' lower than 30'. What does the meaning of it? I did not understand violation. The sreen shot of violation is attached to question.
-
Declaring variable at suite level
How to declare a variable at suite variable and assign it from Java class?
-
How many variables can be passed to bitbucket script from jenkins
Hi Have a build(Execute shell) script on jenkins that calls like this ** whoami cd /var/lib/jenkins/workspace/TEST/scripts bash deploy.sh $ENV $HST $CMP_BLD $VER $CA $CB $CC $A1 $A2 $B1 $B2 $C1 $C2** But when running this job , I am only getting the values till A1 and A2 , and rest of the variables are getting wrong values…