-
Test Suite - Execution options
I would like to iterate my datasource once per test. In Test Suite - Execution options Tests are individually runnable radio button gets disabled after adding tests. Could someone please help?
-
Soavirt Server License Question
I am using the "Server License" version running in a cloud environment. Currently I am using a license token (server, which is correct) but I am also using a regular soatest license also. That does not seem right to me. Could it be on selecting the "Edition" to "custom" and only choose server API enabled?
-
Return Status based on the response
Is there a way to return the status code based on the response from the Groovy script of Response tab.
-
DataRepository
How to insert data in data repository using groovy script through pva.
-
Email content validation with another content
Could you please share the logic to compare the content of email like boy sub date etc to other page .... Is it possible though soa tool?
-
SOATest using Mulit-Factor Authenication
Can SOATest support this? Has anyone done this with SOATest before?
-
Programmatic Suppression
I am in need of a rule that detects ALL instances where the source code, regardless it's lines or blocks, has previously been suppressed from violation reporting ! Is any *.rule that fits above requirement already available in the download package?
-
Write Header element to CSV file
Hi all, There are alot of post on creating CSV and passing element from body to CSV using xml transformer. However i am looking for a way to sent the 2 element in the HEADER session on to CSV file. I have yet to see any information regarding that. Please take note its 2 selected element in the message header, not the whole…
-
Virtual Service Response Scripting
Hi, I have wrote a Java code to generate a response, when tested in the Java Perspective in Parasoft tool code is executed without any errors got a valid output. When i loaded the same to the "Virtual Service" ---> Response section and tested in local Server getting below error. Could someone correct the code. Attached the…
-
Encode / Decode base64 with javascript?
Hi, I need to decode base64 encoded output of a rest service and compare the decoded result with a value from a database, but I don't know how. I understood that it is possible to decode with javascript, but how can this be done? This is the scenario: * JSON call to a REST service returns a encoded value. * I saved this…
-
test name parameterization
I have one payload with different vallues and headers. I created data source and added headers and values and also added column Test name. is there any ways to parameterize each test name so that test picks only headers and other values related to its name?
-
Property file setting questions
If I use the soatest.license.autoconf.timeout=[seconds] property and set it to 90 seconds, will soatest keep polling until license is free for 90 seconds or will it wait 90 seconds to poll. Same question for this property soatest.wait.for.tokens.time=[time in minutes] If I set this to 20 minutes will soatest only try once…
-
set or change boolean values in script
I have the following scripts that simply flips the value of a boolean, but when I try to set the value to a testsuite variable, I get a compile error as a string cannot be set to a boolean although the variable is defined as a boolean. Any help on my mistake(s) or work arounds would be greatly appreciated. Variable…
-
<HOW TO> Test Execution Time in Report
Hi, Can someone please help me know if we can add "Total Test Execution Time" in Report and how to do that ? Thanks in advance.
-
Error Message: Connection reset
when i run a POST call in SOATest, i get **"Error Message: Connection reset" ** same request will work in postman. so i am using same info i am using in postman.
-
Qt IDE with Parasoft Plugin
Hi, I use qt IDE. I want to add Parasoft to qt IDE. Is it possible for plug in Parasoft to qt ide?
-
How to enforce all JSON values of a request payload at once.
Hi guys. I want to create a responder that will fail if any of the fields or values that come in a request is different from what was defined as the Request Template. How can I achieve this? I have been trying using HTTP Simple Mock and JSON Assertors but I couldn`t get this behavior yet.
-
How to update the CSV present in the Virtual Asset
In the 'Incoming Request -> Extension Tool' Groovy script, with the below statement I am able to update the CSV file which is present in my local machine. File file = new File('C:/Users/filepath/Thirdparty.csv') file.append(value+'\n') But with the below statement CSV file which is present in the Virtual Asset is not…
-
DB Tool Oracle DB Connection Issue
Hi Team, I have added "DB Tool" Output on Incoming Request and have given the "Driver", URL, and UserName and Password. When deployed the Virtual Service to Parasoft server and tested, getting the following error. Please help me with this issue. I have added class path in Parasoft tool in Parasoft-->Preferences-->JDBC…
-
java.io.IOException: Server returned HTTP response code: 403
Hi All, Can somebody help me on this issue, I can see Title error. when i use update script for version information like update --version, update --help is working and --updatesite also working. FYI., below URL(http://.......artifacts.xml) is accessible using chrome/IE Full error msg E:\Program…
-
Possible division by zero - fails to detect
Hello. I am running a static analysis checks with Parasoft C/C++ test. And I encountered the following issue: passing a zero parameter to a function which afterwards uses it to divide is not always detected/reported. For example: void some_function() { test_function(0); } void test_function(int parameter) { int var = 5 /…
-
How can we validate token for customer
Hi, I am new to parasoft virtualize and wanted to know if we can validate token for particular customer? I want to see if token is matching with customer otherwise throws error message.
-
ANT Soatest default path
Hi, I am still working on a fix for a project .We use ANT scripting to start Soatest. Jenkins is used to start the run. The testcase can be found and is started. After that the first thing it needs to do is look up for a WSDL that is located in the basedir. The WSDL can't be found. After adding de workspace_Loc global, i…
-
Warning Message : No test resource appears to be selected.
When i try to run test case for DB Connection (Oracle). I get warning message "No test resource appears to be selected. Do you want to use resource from the last test run?" when select "Yes" in warning window, it runs last test run. BUT does not execute DB Connection test case.
-
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
after entering all the info (Host/Port/DB SID/ Usr/ PWd) , i am entering query in query field. Then when i click on "Show Columns" button, i see : Parameters of connection are invalid. Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
-
Problem in downloading egit updates plugins
Trying to download the egit plugins for parasoft using link "http://download.eclipse.org/egit/updates". After selecting the options "Git Integration for Eclipse" and "Java implementation of Git", getting following errors in attached snapshots.Please help how to proceed further.
-
How to read the values/content from FILE datasource
How to read the values/content from FILE datasource and use in Response tab groovy scripting? I was able to successfully read the values from EXCEL datasource using the below step in Response tab Groovy script. variable = context.getValues("data source name", "column name") I tried to use the below steps to read the values…
-
Need unique object properties of Parasoft SOA Test
Hi, For our project we are trying to automate Parasoft SOA test execution by using an automation tool. Automation tool could not identifiy objects in Parasoft SOA test. To overcome these object identification issues, we need unique object properties of Import .tst button and Treeview area under Navigator. Kindly share the…
-
JSON Assertion Handling
Hi, I have added an assertion to Virtual Service and when i deployed and ran a test could notice that Assertion is failing but Virtual Service is responding with a proper response instead of an error response saying Assertion failed. Could someone please help me with this issue, i have gone through the user manual and i…
-
Protocol Support
What kind of protocols it supports. We have queries specific to below protocols. ISO8583 - Service Virtulization. Can we use same for performance testing for 70TPS. Please Suggest if anyone knows this.
-
VirtualService with Excel Data Source
Hi Team, We are using Parasoft 9.10.8.20191027 version in our project. I have created a Virtual Service with Excel Data Source and when tested its throwing error as below when tested. We have used same data and created a Virtual Service with "In Project Spread Sheet" and when tested its working perfectly. Please help us…
-
Header correlation using Reg Expressions
I need to send response based on the incoming request header, response will be different based on the first letter of the header value I tried correlating headers in my responder and used values as: A*, B* and C* but I found that the only Regular expression allowed is for any header "[*]", seems I cannot use my own, is…
-
Changing the mediator endpoint to local host endpoint is not working.
Hi Team, SOAPUI call --> service visualize --> route to actual endpoint-->sends the response. SOAPUI steps:(This is a direct call to service visualize) 1. imported the service wsdl. 2.added the respective request. 3. created a message proxy with the actual endpoint. 4. copied the proxy endpoint to SOAPUI and executed. 5.…
-
Opening a datasource file
Hi there, When I add a datasource as a CVS datasource and open the data file, it by defaults opens in Excel. Is there an IDE setting that I need to update or change in order to get it open in Notepad++ instead of Excel? Thanks
-
How to Cancel CTP Jobs using EM REST API
Hello, I'm trying to use the below EM REST API to cancel CTP jobs. When I invoke it, I get a response saying that the status is 'CANCELED' (see screenshot below). However, when invoke the API, I see in my CTP that the job is stuck at 0% and the status is still 'RUNNING'. It won't actually stop executing until I hit 'Stop…
-
Prevent Test step if running in CTP
Unsure if this best fits under SOATest or CTP, but here it goes. We have some test which hit endpoints that are behind a different DMZ, which the CTP server is not a part of. I was wondering if there was a way, to set a test suite variable or such, to capture the IP, ServerName, or ... that can be used to distinguish a…
-
javax/jms/JMSContext failure
Hi All, i am configuring a Windows 10 environment with Soatest 9.9.5 in this VM. Some software have been upgraded we use the EMS 8.5 from Tibco, but i can't connect to the EMS anymore with the following ERROR. Error Message: java.lang.NoClassDefFoundError: javax/jms/JMSContext class was not found, please make sure the…
-
SOAtest Work with local files
Hi, What is the best way to handle local files on the windows file system where SOAtest runs. I would like to clean out some local directories before executing my test. I know SOAtest has plenty of tools for writing to local files and also on a remote (unix) machine. I tried however to use a "!rm ."command (local shell) on…
-
Error in creating a new VirtualAssets .
Hi Team, I have been using parasoft for more than 6 months and it's great to work. I have created 50+ virtual assets. Now after couple of months i am trying to create a new assets which is not allowing me to create it. Could you please help me in getting this issue resolved. Thanks Senthil. M
-
DB Tool Issue
I am using DB tool to retrieve data from SQL Server. In DB the value is 0.0000003 but while returning in soatest it shows as below 3.00000E-7 Not sure about the conversion.Could you pls check and confirm.
-
Creating JMS request using Parasoft Rest APIs
We are trying create a MQ client request using transport as JMS. Transport transport = new Transport(); transport.setType(TransportType.JMS); But unable to figure out next steps on mapping of the queue details configurations which includes SSL set up and queue names. For establishing the MQ connection.
-
SoaTest support of WebSockets
Does SoaTest support websockets? I tried to implement the following to start a bash session through a websocket, but could not seem to get it to work. Before I beat my head against a wall while I continue trying, I thought it would be prudent to verify if websockets are truly supported.…
-
WebTest: how to close browser window?
I am using WebTest in SOAtest 6.1. I am running multiple test suites at one time and every time one suite is finished, I like to close the IE or Firefox browser completely before the next suite starts. How can I do that? Do I need to write a script to complete this task? Thanks.
-
Assertion depending on Datasource's value
Hi Team, I have added two value assertion for my test case.But I need to validate those assertion depending in the value present in my DataSource's column. eg : I have a column name SCOPE and has value IN-SCOPE and OUT-SCOPE .So if the value is IN-SCOPE I will have to use a particular assertion and if I have value for…
-
C/C++ Test Does not start.
While starting CppTest , it hangs and does not start. Loading process stops while loading some svn or mylyn related plugins. This happens frequently. We have to uninstall and reinstall the software in order to work again.
-
Updating the embedded server Data Repository
If I am using a Data Repository using "Embedded Server" with previously recorded traffic, is there a way to update that repository with more data without doing another recording or one record at a time?
-
Query related to concatenating a data bank value and text data bank value and passing it as a Url
My test structure is like that Test1- Rest api call with few query parameter.One query parameter contains a Url. I have collected all the values of query parameters in Rest Url Data bank Test2- Rest api call and response is a session key in text string format, which I have collected in text data bank Test3 - Rest api call…
-
Announcing C/C++test 10.4.3!
We have just released C/C++test 10.4.3! This release introduces extended support for AUTOSAR C++14, new rule sets for CWE Top 25, CWE On The Cusp, OWASP Top 10, enhanced unit testing and support for new platforms and environments including Visual Studio 2019. We see great traction of AUTOSAR C++14 in the market, multiple…
-
Column Name in CSV file while writing from XML Databank
Hi Team, I am trying to write the extracted element to a CSV file using python code.Is there any way I could achieve a scenario where the Column name is only written once. eg: I have extracted BillingAccountNumber using xml databank and I need to store in a CSV file.So I have given the Column name as BAN and written the…
-
SSL Proxy Setup Error
Disclaimer: I have mistakenly posted the exact same question below a few days ago on the SOATest forum. But since we couldn't reach a solution as recommended by Benken I'm posting this here. Here's the link to our discussion so far: https://forums.parasoft.com/discussion/4687/virtualize-enable-ssl-proxy#latest Hey…