-
Changing a value of an xml field after extracting from request
I am trying to extract the "ns1: month" field from the following request using XML Databank and then increase the value by 3 and populate it in response. <?xml version="1.0" encoding="UTF-8"?> CallingAppCode VLM0 RZZCA82 26 06 2019 Q . Please suggest a solution for this.
-
How to stop a Test Suite even if one test fails
Hi, Is there a way to stop the execution of entire test suite if at least one test in that suite fails. Thanks in advance, Lakshmi
-
Kerberos authentication issue
We are being skuppered by Kerberos auth once we route the traffic through our proxy. We have no control over the downstream connectivity. It must remain HTTPS. And the credentials must be authenticated by SECAF via Kerberos. Error message once behind the proxy : • SPNEGO not supported error page • Message from SPNEGO Web…
-
I need to perform bulk deployment of stubs in parasoft virtualise
Bulk deployment of stubs need to be done in parasoft virtualise , presently i am deploying each stub individually which is taking too much time. So is there any method in parasoft virtualise so that i can deploy all my stubs at once on my server.
-
How can I automate PDF form signing SOA test
Thanks in advance
-
Explanation/index of log files
Could someone point me to the documentation that outlines which log files contain what information on a system running SOAtest and Virtualize with CTP? I am debugging some issues and at this time just randomly or best guessing which logs files I should be looking at. Hoping to find something that says "catalina log files…
-
Unable to generate the Test Suite
Hi Team, I am trying to generate the TestSuite for a .cpp file present in the project. The projects builds fine without any errors. The .out file gets generated. Trying to create as - Right click on the .cpp-> Parasoft -> Test Using -> User Defined -> Unit Testing -> Generate Test Suites. The error displayed in the console…
-
How would the user know whether he is using the real asset or virtual asset?
Hi All, can anyone let me know if there is any way for the user to know whether he is using a real asset or virtual asset.
-
CTP Deployment option for MQ
Hi Team Can you help with the options for deploying MQ based virtual services which created & deployed in local Admin now Detailed: * Created Virtual asset & deployed in Virtualize server - Local Machine(Admin) * Now the plan is to deploy the asset to central server(CTP)
-
Text Data validation
While Running a request i am getting response in text format for eg. INC000003425644. How to verify it using soatest tool.
-
Unable to replace a tag value from External excel(Static)
Hi Team I am trying to pass static date from external excel data for response data tag. But the value is not able to pass and attached the steps and different responses I am getting via table data source & external excel data source. --> Table data source the value is passing without an issue --> External data source…
-
Virtualize : Use Database as datasource and parameterize SQL query
We are using excel as a datasource and parameterized the responder response. Since excel has limitations on rows , I wanted to use Database as a datasource. But, if i use database , the query needs to be parameterized since account number i use is unique every time. Based on the account number i need to get the rows from…
-
Bug in Content Type assignments - form encoded adding charset
I found a potential bug, or room for improvement... When setting up a Request in SoaTest, and setting the payload to URL Encoded (application/x-www-form-urlencoded), the resulting header is: Content-Type: application/x-www-form-urlencoded; **charset=UTF-8 ** If the charset is going to be added to the content type, can it…
-
Undefined reference errors occurr when linking in Insure++ symbols in Ubuntu
In Ubuntu, linking errors with Insure++ (undefined references of Insure++ symbols, see examples below) are caused by a change in the default behavior of the linker from previous versions of Ubuntu. Error example: ".../Insure++/lib/libinsure.so: undefined reference to `Insure::Thread::startFunction()'" Explanation: This…
-
Performance Hits per second
Hi team I have got Performance server license assigned. My client requirement is to do Performance testing of 50000(50K) hits per second. Kindly help me with configurations to do the same. Load runner is using by Client
-
How to pass String ArrayList object to Service in SOATest
Hi All, I have a string Arraylist where i'm iterating cells from excel and saving it in list and passing the list to context like below(doing this using extenson tool object). When i access the list in Service the entire string response is going in the request. Actually, the arraylist contains list of String. Which has to…
-
how to use just the property of the json object from databank
Hi, would you please let me know how i can use just the property of the JSON object that i save to the databank.
-
Selenium webdriver
Hi, Can someone help me on setting up the Selenium WebDriver script with IE browser? Actually i want to validate an entry in UI after the API is executed. And my UI application will work only in IE browser. So thought to add an extension tool after the API step. From extension tool i will call the JAVA class file(Selenium…
-
C++test Cpptestcc Advanced Tutorial: Including Static Libraries Coverage
This is a second part to the following forum post: https://forums.parasoft.com/discussion/4423/c-test-latest-coverage-collecting-features#latest This post assumes that you understand how the basic of instrumenting source code for coverage collection via cpptestcc and how to use/build C++test Coverage Runtime libraries. We…
-
Close/Stop External Tool after TST is complete without killing all similar processes
While I can run an external tool in a setup test of a TST, I was wondering if there was an internal reference to the service/process id, or other mechanism, in which I could pass a kill or stop command to. ie...I start a batch file to enable an SSH connection before running the tests within a tst. after the tst is…
-
How to write in Writable Data source in runtime using java
Hi, How to write in Writable Data source in runtime using java. I have string value "utterances" String utterances = utteranceSheet.getRow(i).getCell(6).toString(); which i'm getting from excel sheet. Doing this in Java using Extension tool. Want to set this in writtable Data source. Writable Data source name :…
-
SOAP/Rest api's record and replay
I am evaluating Parasoft for capturing traffic for SOAP/Rest calls from my application, and replay the captured data in subsequent test environments without using real services. Can someone suggest if Parasoft can help in this linux based setups where there is no UI access? Also please suggest if there is any doc.…
-
Which scripting language is used to develop Loadtest Cli Script ? can I use the shellscript ?
var scenario = "Steady Load" var base = tests/loadtester/accuracytest/tests var category = Accuracy var test-name = 1-Profile-HPS open ${base}/${test-name}.lt loadtest -minutes ${minutes} -allReports ${report-home}/%d/${category}/${test-name} ${scenario} Does parasoft loadtest works with shell script? Is anyone develop…
-
How to pass iterated excel columns (String values) into Service request
Hello, I have iterated excel columns (String values) in an object. it has around 8 string values. How to pass it to Service request. I have tried passing as parameterized value, but the problem is, it is taking the last added value from the object and it is passed as input. Kindly suggest solutions. for (String scnr :…
-
How to download decrypted pdf document in Traffic response for get method call
Hi Team, We are getting a pdf file in response as decrypted format for Get method call. There is no option to download the file in response. Header : Content-Disposition: attachment; filename="Temp.pdf" Same service working fine in Postman and able to download the pdf document, please let us know the download option for…
-
XML Filter
I have a responder which sends response with list of transactions for an account number. Is there a way that I can filter the xml response based on date or any other value before sending response?
-
Cannot find function
When creating a test case for a function (without processing), the C++ test tool cannot find the target of the corresponding function in the Drop-down menu.
-
Build artifact deployment to AWS EC2
Hi, I am working on a .net application.Output of my msbuild is dll. I want to deploy these dll's from Jenkins to AWS EC2 windows machine using scripted pipeline.What is the better way to do it?I am looking for any suggestions/example docs on this. Thanks, Saisirisha
-
Static Analysis Rule
Hi, I analyse my code with recommended rule set but I noticed the following thing; I can easly detect array out of bound for example; int scores[] {100, 90, 80}; for (int i = 0; i <= scores.size() ; i++) // I take a violation about array out of bound error { ..... } But I have a method which takes transpose of matris. My…
-
Using Data Source Correlation for dates in Responder
We have a responder, where we have set the data source correlation using account number. However, i also need to correlate the date which is coming in request as said below. Check if startDate which is coming in request is greater than or equal to the data source column value. Here DS has 10 rows where i need to check all…
-
Performance Tuning your Virtualize Server
For best performance when using a Virtualize server we recommend the following configurations Always run your server in "Headless mode" You can do this utilizing the soavirt.war deployable in a web server like tomcat or launching your Virtualize application with the virtualizecli executable Example:…
-
C++test latest Coverage Collecting Features
C++test has introduced a new functionality that will allow users to combine all coverage findings from their Static Libraries and/or previous runs into one report. We have introduced a new wrapper executable used to collect coverage, cpptestcc, and introduced a new fully customizable Runtime Coverage Library. I have put…
-
Read files from Secured remote directory(Linux)
Hi Team, I need the some option in Parasoft. That should function as same as"File Transfer Listener" or "File Event Listener". But one addition is to read file from secured remote directory(Linux). "File Transfer Listener" or "File Event Listener" - Both will work for reading the files from Local directory I am using…
-
IBM MQ Virtualize - "MQJE001: Completion Code '2', Reason '2393 (MQRC_SSL_INITIALIZATION_ERROR) '"
While Testing MQ connection is Parasoft getting the below error. Please help me in resolving this issue MQRC_SSL_INITIALIZATION_ERROR
-
Execute test only when the data source row value matches
I have a test with data source having multiple rows. In one of the columns I have YES & NO values where I need to execute the test for that particular row only when the row value matches with YES and skip the row where the value is NO Is there a way that I can achieve this ?
-
Unable to find "stdlib.h" during stub generation
Hi all, I'm currently working on a modification to some Linux kernel code, and while I've been able to generate a BDF for the entire kernel and can perform static analysis on my new/changed files without a problem, I can't seem to either generate stubs or run unit tests on the affected files (in file scope). For instance,…
-
Multiple Responses "Enable Correlation"
Hi Team, I have a set of address stored in my message tab under Multiple Responses "Enable Correlation", I would like to do a partial search, attached file for your reference. I used this approach but it did not work, Is there a way for me to search with partial Values with different conditions. If so could you please help…
-
Looking for scheme definition for working with fixed length messages
If one creates a Fixed Length responder, part of the responder configuration is the "Schema for Modeling Request Payload Using Form Input". Where can I find the specification for these schema files or get an example of a scheme file? I am going by the assumption that Fixed Length means not only is the length of the message…
-
Json schema validation
Do you have any feature to validate the json schema?
-
Working with Wind River Workbench in command line
Hi, We use. Parasoft with jenkins therefore we work in command line. For working with Wind River Workbench project how should we proceed?
-
Passing Multiple Documents Through a Java Application
Hello everyone. I've been trying to find an answer on this, but haven't had much luck. So for my project, I have a Java Application (JAR) which allows me to compare two SOAP responses from a data source, a baseline (external regression), and new responses; I used the Write File option to write the new responses, and…
-
Xpath - Extract element based on other element in the JSON response
I have a JSON response with following structure which is dynamic. I want to extract the account balance to a data bank of specific person eg:John "Details" : [ { "AccountBalance" : "6793", "Person" : "John" }, { "AccountBalance" : "3646", "Person" : "Peter"
-
Remote connections to C++Test and running multiple instances of it by the same user
Dear Sir/Madam I have installed a C++Test on a Windows server. I have one network license (1 licensed token) for this product. Please consider the following scenario: We have configured the windows server to permit multiple remote-connections to it by the same user name but with different sessions. Now, we connect remotely…
-
how can we use the POST method in virtual services for dynamic response.
we want to test the post method with dynamic input and also want the same responce from the virtual service 1) We are using service( https://petstore.swagger.io/v2/pet ) for post method with below request body: { "id": 4, "category": { "id": 0, "name": "string" }, "name": "Avik", "photoUrls": [ "string" ], "tags": [ {…
-
Comparing Json Responses
Consider I have 3 products with some requirments like colour and price . Initially they are in order P1 : {c1:p1} , P2 : {c2:p2} and P3 : {c3:p3} (Captured response). But from the server they are coming in order P2 , P1 and P3. Is there any way to compare these two responses in diff tool by ignoring order change ?
-
Need a link to install SoaTest 9.10.2
Need a link to install SoaTest 9.10.2
-
Static Analysis on isolated module (c-file)
Hello, I have an interest in simply open a module (c-file) into parasoft and executing one of the built-in Static Analysis sets, for example "Example Configurations". Is there any way to do this without creating a full build project and assigning a build system (CDT, microsoft, gcc, etc.) The module is part of a larger…
-
Jtest Unit Testing Offline Platform
Hi, How can I run unit test with jtestcli in offline platform?
-
Creating data.json for java project
Hi, I worked your example project demo which was java project. It included "demo.data.json" file. I did static analysis with using this "demo.data.json" file. I am trying to analyse my java project with Jtest static analysis and I need myproject data.json file. I don't know How can create "myproject.data.json" file. Could…
-
Multiple Datasource
I have 2 datasource table. One of the column has a key that matches the other datasource table. Is it possible to search for the key on the second datasource and pull the data from that specific row.