-
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…
-
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…