-
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…
-
Multiple Response
Hi Team, I have a requirement where i need to set multiple condition for a single response. How do I write multiple condition? I do not have access to Data Source Correlation. In the attached image, it has 2 login id but needs to send the same response, When I add the condition 1 after another, it does not work. Could u…
-
Virtualize Enable SSL Proxy
I developed an Android app that connects to a node.js server in the cloud, I've generated a self signed certificate and I have already tested the SSL connection between the app and the server, it works perfectly. Now I'd like to deploy a Virtualize proxy between them, I generated a keystore.p12 from my private key and…
-
Can not see or create Test Suite or .tst file in Test Case Explorer
My Parasoft version is below, installed on Window10 machine After I create a project, I am unable to find Add New-->Test(.tst) File option by right clicking the project. I can create .tst through File->New->Test(.tst) File though. but after create an empty .tst file ( For example, test2.tst) , I can only see .tst in the…
-
Get Current time in Milliseconds
I am trying to generate a timestamp of the current time but in milliseconds. Is there a scripting option to do this, perhaps Extension tool, or is it possible to generate it via the Data Generator Tool?
-
Scripting Issue: Trying to get a particular value in a column
I have a script where I generate a key based on the request. This key is a value listed in the first column in a table, and the script should return the value of the corresponding value next to the key value. Ex: In column 1 my key is A and I need to return the value next to it BC. So far my script results in an error when…
-
Documentation on "em" Schema
I'm interested in doing some custom reporting on traffic going through our message proxies. I have noticed items of interest in the em.em_event_message and other tables. Is there any available documentation on report queries for this schema?
-
How can I reuse or apply some test to all my scenarios
Hi, I have 3 tests to post on Rally the results but I want to avoid copying the same tests over and over to all my scenarios or test suites. The only thing that changes in those tests on each test suit is the TC ID of Rally
-
Jars for Groovy scripting
Hi, We are trying to customize a responder where we are using groovy scripting for which we need some jars to be added to parasoft virtualize. Could you please help us where we need to add jars for that. We are getting error org/apache/ivy/core/settings/IvySettings
-
Create DB of all virtual assets created
I would like to create a database of all virtual assets created and would like to automate it. Please suggest best way to do it.
-
Where can i see the result of Groovy script in Parasoft SoaTest after evaluation
Hi, I am new to parasoft tool and was trying out some scripting. i want to know where can i see the result of groovy script in parasoft soa tool
-
Set up service to use virtual asset only if test servers are down
How can I set up my service to use test servers first, and hit virtual asset only if the test servers are down
-
Parasoft C++test and WindRiver integration
Hi, I have a one lisence for C++test. I use DS5 Eclipse IDE and Workbench 4 IDE on the same machine. I integrated with DS5 Eclipse with C++test via C++test professional eclipse plugin exe. And I want to rerun this exe it says that remove all or repair it means that this eclipse plugin just integrates with only one eclipse…
-
How to get the request url/parameter values in Response tab
Is there a way to get the request url/parameter values in the Response tab and perform validations using Groovy script. I am able to get the values and perform validations on the Responder correlation Custom tab.
-
JSON output response based on the dynamic date ranges in the request
Requirement: Each calendar day will have a different json response, for 90 days. Based on the to and from dates given in the request I have to pick the response, combine and send the result. * How to and where to save all the responses. * For different date ranges how to combine the responses. * Some dates are having no…
-
jtestTimeout for class error
Hi All, i am a bit further now with setting up the ANT CLI interface. But during the run i am receiving:_ groovy.lang.MissingPropertyException: No such property: jtestTimeout for class: com.parasoft.xtest.ant.SoaTestTask_ I Can't find where this failure is caused by, am i missing a file at the system? What do i need to do…
-
Environment variable in Database Data Source SQL query
Hi, I would like to know if an environment variable can actually be used in Database Data Source SQL query.I tried the below options & they did not seem to work. Any help would really be appreciated. I have a bunch of tests written already using the database data source already & I I would like to know if it is possible to…
-
Sftp connect through soa tool
I am not able to connect sftp through soa tool..I am getting error auth fail.currently i am using ftp client to connect sftp..is there any other way to connect sftp...
-
.parasoft file corrupt
Hi. is it possible to regenerate a .parasoft file? Our got corrupted by some SVN commits that are conflicted.
-
Dynamically create proxies, record traffic, and create assets using the REST API
I was recently at a customer engagement and they had the following requirement: We would like to create proxies on the fly, record traffic, create the asset, then delete the proxy. Parasoft has a powerful REST API that can easily facilitate this. This script does the following 1. Creates a new Proxy in record mode 2. Grabs…
-
Is there way to report SLOCs for functions?
I was looking for a rule similar to "Report Cyclomatic Complexity [METRICS-29-5]", but for LOCs. Is there such a rule or some other way to report LOCs for the functions?
-
"Warning: A test is currently running" pops up even when no test is running
Hello, When I'm executing a tst, sometimes my SOAtest runs out of heap space. This causes the test execution to hang, so what I normally do is click on the red stop icon to stop the execution. Then I click on the garbage can icon to release some memory, and try to execute the same tst (see screenshot below). But when I try…
-
Parasoft JTest integration with Gradle
Hi All, Need a help for integrating jtest with gradle. We couldn't find init.gradle or jtest.gradle in the installation folder of Gradle which was mentioned in the Parasoft manual. https://docs.parasoft.com/display/JTEST1040/Configuring+the+Jtest+Plugin+for+Gradle. Please share us the init.gradle file or the plugin which…
-
Extract Value from Database and return in the HTTP Response Header
What steps would I use to extract a value from a database and then return that value in the HTTP response header? In my example, I would get a value for "group": select group from groups; Then I want to return an HTTP header: X-Group: Thanks, JT
-
Is there a way to report names of global/static variables?
Is there a way to report names of namespace scope and translation unit static variables?
-
Parasoft support for [[fallthrough]]
Does Parasoft Static Analysis support standard [[fallthrough]] attribute or gcc attribute((fallthrough))? If not, are there plans to support them?
-
Groovy script not working in Response Tab
I am trying to validate one of the field from request. Using Groovy script in the response tab for the validation of the request. import com.parasoft.api.CorrelationScriptingHookConstants. def correlateOperation( context) { requestUrl = context.get(CorrelationScriptingHookConstants.REQUEST.URL) return requestUrl; } With…
-
Share datasource across referenced test cases
While I can run individual tsts on their own, when I link them as referenced test cases, the datasource from the original tst is used. Is it possible to set the datasource for a referenced tst to that of the current tst, so only one update is needed when changing row references similar to how environments work with…
-
Include tools results into the responder correlation
I have a responder with a DB tool attached to the incoming request, the query used on it is looking for a record in DB using some values extracted from the incoming request by using an XML Data Bank. At response side I need to select my response (I'm using Multiple Responses) based on the incoming request (I'm filtering…
-
How to rename the data file after each use in Loadtest?
Scenario I want to run a 8 hour test run with millions of records (data is xml file sample xyz10976_10204.TF). if the test need to be stopped after 2 hours and need to re-run the test by using the unsued test data . If the tool use the existing data - we will end up having duplicates. In order to eliminate the duplicate, i…
-
How to validate the date given in the request
Below is request URL http://localhost:9080/accountsdetails?startTime=2019-09-27 I want to validate startTime whether it is older than 7 days from the current date or not. If it is older I want to return error message or with some responder.
-
Using Extension Tool to capture the request code
I have an instance where I need to capture the incoming request, and find part of the code marked by an unique identifier and return it as my request for my responders. How can I code this effectively? Here is the code I have so far that I got from another application, but not sure if it works in Virtualize: function…
-
Help with XPath Substring
I am trying to get a part of a string up to the point where there is a blank space in the string. However, Virtualize is saying that it does not recognize what the .indexOf() function is. Can someone guide me as to what could be the issue and how to get the sub-string properly in Virtualize? The XPath code is am trying to…
-
SOAtest and Virtualize 9.10.8 are now available
The latest releases of Parasoft SOAtest, Virtualize, and CTP are out! There's a bunch of new features including: Test impact analysis for API testing * You can now leverage test impact analysis (TIA) functionality for API tests in SOAtest. Designed for use in your automated test execution environment, TIA analyzes the…