-
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.
-
Signature validation
Hi team , Does anyone has any idea on the following error , on why it is occuring and how to solve that ? 401 SIGNATURE VALIDATION SERVICE PROCESSING EXCEPTION
-
Execution problem for cppunit format tests
Hi, I try to run cppunit format unit test in cpptest standalone ide with armcc compiler. Then I take the attached error. How can I fix it? Then I run the example which is provided from you. Your cppunit test did not work also. Your example was ATM. I took again the same error. The error attached to discussion. And I…
-
Ciphersuite Warning solution requested
When I am selecting an option in Ciphersuite(SSL_***) I am getting the below warning: "The selected Cipher suite is not supported by your JRE. you may need to use an IBM JRE" Please help in solving the issue Please let me know the name if any jars to be added
-
FTP client
Does anyone has any idea , on what to provide in the host for the FTP client. I am trying to connect to some server (kind of a storage location) having some files and I want to validate the files there .
-
Build id - character limit?
Do we have any character limit for the BUILD ID?
-
Unit testing via Jtest in command line
Hi, I want to unit test in command line with jtest. First of all I generate unit test in intellij ide using jtest then I try to run test via Jtestcli in command line. But at the end of the process "executed test cases :0" why can't I run these test? Normally these generated tests run in intellij ide successfully. How can I…
-
JTest Lisence Problem in command Line
Hi, I try to use Jtest in command line. When I run the command which is shown in attched image. The reply of the command is lisence feature not found. Normally in netbeans or intellij parasoft plugin to these ides and there is no problem for lisence. But in command line I took an error about lisence. Why this ase occur?…
-
Request from File and Response to Queue
Hi All, We have got a requirement that request file has to be read/taken from folder location & based on few fields it should send response to PUT queue. ie Request from file location & response to Queues(IBM MQ) Is that possible to do using Parasoft?
-
IBM MQ Virtualize - "MQJE001:Completion code 2: Reason '2397'(MQRC_JSSE_ERROR)"
Hi Team While testing my connection I am getting the below error. Please help me to solve this and establish the connection MQJE001:Completion code 2: Reason '2397'(MQRC_JSSE_ERROR)
-
Ciphersuite details in Virtualize
Is that mandate to add Ciphersuite details while creating Virtual Service. We don't have the option to mention the Ciphersuite details in Virtualize. Please help me on this
-
SOAtest assert on partial date/timestamp
Hi, I like to assert on a DB value containing a time stamp e.g. 2019-06-13 09:04:23.338024, by only considering the date part 2019-06-13 and neglecting the time. Can this be accomplished with a build in assertion of SOAtest or should this be implemented with a custom assertion? Thanks in advance . Regards , Daniel
-
RR Pairs - Hardcoding feasibility
Hi All, The below is the scenario we have got 30 set of Request and Response Pairs. We will be receiving any of the one request from application. How can we hard-code all RR pairs where Virtual responder will select & send the response based on request we receive. Note: We are not using Data set/Data repositories Ex: The…
-
Possibilities on NDM(Network Data Handler) Protocol
Do Parasoft Virtualize support NDM Protocol?
-
How to set "timeout after (milliseconds)" with environment variable?
Hi, I have a need to set different timeouts for different tests. For instance, when doing a GET, I would like to set it to have a 3 second timeout, whereas for DELETE I would like maybe a 5 second timeout. I tried using environmental variables but it did not work, the timeout textbox only accepts numeric inputs. I would…
-
C++Test, no project import in Visual Studio plugin
Hello, I just installed VS 2017 and the C++Test plugin for visual studio. There appears to be some basic installation issues. * The new Visual Studio launcher to enable C++Test does not appear in my Start Menu * Visual Studio does display the ParaSoft menu * New/Project.../Import Keil Project is missing. Actually all of…
-
is it possible to execute same .project simultaneously, one with SOATest UI and other through CLI ?
I want execute two instances of same .project (Same set of .test files) simultaneously in a way that one should run through SOATest UI and other through Command Line Interface provided that .project should be in one workspace. Please let me know if there is any way available. Thanks in advance!
-
Keil uVision Static Analysis Problem
I worked with Keil uVision. For analysing Keil uVision code I followed instruction of the https://docs.parasoft.com/display/CPPDESKE1041/Keil+MDK-ARM+Support document. I create bdf file and I import my code and bdf file to standalone C++test ide. Then I tried to do static analysis for this code. In the parasoft document it…
-
NDM(Network Data Handler) Protocol
Do Parasoft virtualize support Connect:Direct(NDM) protocol? I have already verified on the Market place but no such extension is available. Please help
-
SV creation - FTP
Hi Team,, Do we have any document for creating FTP virtual service . Recording is not allowed as per requirement
-
IBM MQ Virtualization
Hi Team,, Do we have any document for creating MQ virtual service. Recording is not allowed as per requirement
-
How do you generate stubs for template class functions?
When collecting stub information in my test configuration I am not finding references to our functions in template classes. Is there a way to generate stubs for our template class functions? Here is an example of a template that we are using in another class that is under test. The function func_1 doesn't show up in when…
-
Stubs for variadic functions
Recently I had to stub out a Linux ioctl function for testing. I found that the stub doesn't pass the variadic arguments to the callback function. In order to pass the arguments I made a quick hack, and hijacked the __return pointer from within the auto-generated stub code to be able to see the arguments as shown below. Is…