-
Parasoft Warnings Tab
I try to work Parasoft with Jenkins. They are working well each other. But when I call parasoft throughout jenkins, the static analysis and then unit test execution is finished, the Parasoft Warnings Tab in Jenkins interface does not appear. Why this case occur. In the begining of the project creation I select freestyle…
-
Does Parasoft Community Edition tool support Context based switching?
Does Parasoft Community Edition tool support context based switching (ability to switch between real and virtualized services based on system availability)?
-
Jenkins with slave Linux Virtualbox running cpptestcli
Hi, I have a Jenkins job that will perform a svn checkout to a Linux VirtualBox every day. After checking out, the job will perform a make clean and make all operation, before trying to call the cpptestcli command. The command I ran: cpptestcli \ -data "../" \ -import "ProjectName" \ -config…
-
ScriptingContext.setValue syntax error in Jythlon
In the script below, the last line using "ScriptingContext.setValue" is returning an error in Details stating that: " File "", line 7, in setTestFlowLogicVar TypeError: setValue(): expected 3 args; got 2" The api doc state the syntax is: "boolean setValue(String variableName, String value)" Where is this third arg coming…
-
cpptestcli error:unable to find parasoft test installation
When I want to work command line and try to run static analysis in command line take cpptestcli error:unable to find parasoft test installation error. Related image is added to question.
-
Static Analysis Skipped File
Hi, I run static analysis via command line and I obtain successful result. There have a no error while execution. But I noticed that the Skipped info. What is it? I did not understand the meaning of it. I attached related screen shot to discussion.
-
Create bdf file with Maven
Hi, I can run mvn clean install in command line. Then Itry to generate bdf file for this maven project.But I get an error.The error attached to discussion.Why this error obtain?
-
Using Date Range to retrieve data from excel
Can some help me with the below scenario. I have a responder which sends list of rows having the same account number which was sent in the request. However, I need to send the rows based on the start date and end date range. currently I have setup only account number in data source co-relation to match the account number.…
-
can we use context based switching?
does Parasoft virtualize tool have ability to switch between real and virtualized services based on system availability?
-
Parasoft Example Eclipse Project Unit Testing Gcc Problem
I am working with Parasoft ATM eclipse example. First of all I create bdf file for this ATM project. And I open this project in C++Test ide with using bdf file option. I successfully run static analysis and optain results. Then I create aoutogenerated tests via "Generate unit tests" option. Then I run these test. I obtain…
-
How to print to Event Monitor from Extension tool
Responder is working fine in localhost, whereas same responder is not working in server environment. To troubleshoot i need print some values to Event Monitor. Whats the groovy code to print to event monitor from extension tool?
-
Parasoft Findings Plugin in Jenkins integration Error
Hi I had Installed Parasoft C/C++ Test and 'Parasoft Findings Plugin' in our Jenkins server(Ubuntu 16.04.6 LTS). I'd like to display the C/C++ test report that built in Jenkins. I created a new item and filled out the following in the build and post-build action area: When building the item, the following log was printed.…
-
Iterating through Table data source
Hi, I want to iterate through Table data source and select particular rows based on the input. Im using SOATEST. do we have built in to iterate table data source? if not how can we call the table data source in Java class and iterate through the rows in the table(excel) data source. this is the scenario. i have scenarios ,…
-
Generate a Report from Persistent Violations for Static Analysis
When I run Static Analysis over my code base using Eclipse, any violations that pop up will be listed under Quality Tasks. Under the Configuration Running tab (or view), at the conclusion of the run, it states how many quality tasks were found, gives me the progress bar, and then at the bottom allows me to generate a…
-
Acccess Project/Workspace Location in cpptest suite
Our current test suite is littered with absolute file paths. This makes our test suites less portable. I'd like to be able to access the workspace and project locations from within our tests. How can I do this? Are there environment variables that contain this information that can be gotten through getenv()? Or are there…
-
plugin un-installation procedure
What is the recommended (vetted) procedure to uninstall a <parasoft_cpptest_desktop_10.x.y_win32_x86_64_eclipse.exe> plugin? I already tried running a formal way from Control Panel > Uninstall a program > double click ... No requests in regards to "Uninstall, Change, or Repair" option, the cycle just removed (most of) the…
-
jython script to iterate rows in paraspftSoa Test
Hi, please provide jython script to iterate rows.
-
Parasoft SOAtest, Virtualize 9.10.7 and the Continuous Testing Platform 3.1.3 Released
Today we released the latest version of our functional testing tools today, and they are jam packed full of exiting new features to enable comprehensive test automation! The released versions are: Parasoft SOAtest 9.10.7 Parasoft Virtualize 9.10.7 Continuous Testing Platform 3.1.3 Core product enhancements In these…
-
Extract name of the data source with ScriptingContext
Hi, Im using the ScriptingContext in Parasoft SOATEST to build my request. I wanted to know how to extract the datasource **name ** in my script. The datasource type is an Excel file and Im using Java and need the name /path of the datasource. Appreciate the help. Thanks.
-
POC on Parasoft Community Edition
i want to do the POC using Parasoft Community Edition tool. could you please suggest me. i am using Parabank application but unable to to create the responder suite in virtual asset.
-
Publish Parasoft analysis results
Is it possible to publish/centralize the project's analysis report(s) onto the corresponding pre-defined project space @DTP server POST running a "cpptestcli" from a Linux build environment?
-
Keil uVision Static Analysis Quick Start
In this post, I will go over how to get started with using C++test static analysis on Keil uVision projects. In this example, I will be using the C++test example MDK-ARM Sensor project. This can be found within ${CPPTEST_HOME}/Examples/Embedded/MDK-ARM/Sensor. In this post I will use the following: C++test 10.4.2…
-
How to Save Test Suite
We're trying to save a Linux test suite (using git) so we can share it among developers. The existing suite contains several hidden files (.parasoft, .cproject, .project, .metadata) that contain absolute paths to the original suite locations, which breaks badly when we try to reuse the project elsewhere. How can we save…
-
Dtp Page load speed
Hi, I run static analysis then I published it to dtp. When I open analysis result the dtp page load very slowly. Related image wa s added to this question. Could you suggest anything for speeding load page? We increase ram memory on the machine, we did necessary thinks for speeding but nothing changed.
-
Formatting issue with trailing zeros
Fellow SOATesters: I have a problem with formatting price extracted to a Databank stored in a script variable and then using it after some arithmetic - for example (price multiplied by quantity to arrive at total price for the cart items, add tax and finally arrive at total amount ). Sample prices are 90.00, 102.41, 50.88…
-
How to have client request validation for SOAP Service?
Hi Team We have virtualized a soap service, where as client is sending some extra fields. In this case original service is throwing an error which is their schema definition. where as in virtual, we cant write responder to handle all validations, if we have some options to include validations at wsdl level?? Any help would…
-
SAOTest Virtualize : Parameterizing Arrays of Varying Size
I have a requirement exactly the same which parasoft gave an example.. I tried reproducing the same but i couldn't see any response back. In the below example I could see that they have setup a response , but is there any specific request that i need to send to get that response ? I followed exactly same steps but still no…
-
Batch File or VBscript File to execute a single TST or all available TST in the workspace
I am trying to create a Vbscript/Batch file which will launch the SOAtest and execute a single TST or all the TST available in the workspace. I am trying to find my question in the forums but no help. Can anyone help me out here. Workspace Name: APITest TestScript Name: Login.tst
-
Calculate sum of several columns in an XML databank
I'm extracting and storing values (let us say List Price of several products). I can see them saved as shown in console: Scenario: GetProductPriceOfCartItems Test 1: GetProductPricing(ProductPricingRequest) - success set Test 2: ListPrice1=45.00 set Test 2: ListPrice2=65.00 set Test 2: ListPrice3=55.00 set Test 2:…
-
Parameterize the attachment <zip> with MIME and MTOM is not working for SOAtest SOAP Client
I was using the SOATest SOAP Client to send the soap message request to the backend using MIME and MTOM , which requires the zip attachment along with request, SOAtest only keeps the absolute file path in the request message body not the actual zip file and send to the backend .. which through an error File not supported .…
-
Use data conditionally in a SOAP Client Tool
Is it possible to conditionally use the value of cell (from an excel spreadsheet setup as datasource "CustomerAndProduct" say that contains 2 columns as shown below) CustomerType CustomerNumber New 0 Existing 123456 The end goal here is I want to use a SOAP client (which fetches) Customer details for "Existing" customer…
-
Response: SOAP-ENV:Server: javax.xml.transform.stream.StreamSource cannot be cast to java.io.InputSt
When I'm trying to submit a request. I'm getting the below error. The same request is working for my team. can you anyone have an idea why i'm getting this error. I tried with Parasoft SOA Test9.8 and 9.10. Both tools are getting same error. <?xml version="1.0" encoding="UTF-8"?> SOAP-ENV:Server…
-
REST Tests stopping after a certain number of tests execute
We just added our renewal license key (just FYI, not sure if this has anything to do with our issue). We have been running a large suite of tests 3 times a week and just recently (today), they seem to stop after a certain number of tests run. I know this because at the point where the tests finished, I disabled a number of…
-
Displaying NullPointerException
Hello, I am new to Java and trying to run below code however I am getting NullPointerException and I couldn't figure out how to instantiate varScriptToolContxt. Appreciate if someone cana help me. public class helloWorld { public static void main(String[] args) throws IOException{ ScriptingContext varScriptToolContxt =…
-
Test execution: error linking test executable for Test unit for selected sources. Error
What is this error, what is the resolution for it? the error "Test execution: error linking test executable for Test unit for selected sources." comes while running the unit tests.
-
How to chain/reference/reuse TST files in CTP
I was wondering if it was possible to chain/reference TST files within CTP. I have looked through the forum and documentation, but unsure if this is possible or not as I have not found anything matching my searches (Reference TST, Call TST, Reuse TST). Scenario: For something like a login request that is needed by a number…
-
Running tst file from command prompt
Hi All, * Please let me know how to run .tst file from command prompt? * i have tried running this command from cmd sotestcli.exe -config "C:\Apps\para_exe" -resource "OTT_tstFormat.tst" -report "C:\Apps\para_exe\para_exe_report" * but getting soatestcli.exe is not recognized as internal or external commands. * Also please…
-
Unable to remote execute SOATest
For CICD, my requirement is to trigger SOATest from Unix server (GoCD) using shell command to invoke SOATest which is on a windows server in same data center. I'm using below command to do above operation and getting error, pleas help me with this. ./soatestcli -server https://servername.com:9443 -auth uname:password -data…
-
Please provide licensing/pricing details of Parasoft JTest
We plan to use Parasoft JTest within our CI/CD Pipeline within Jenkins. Please provide the respective details along with the documentation/user-guide.
-
groovy script to export excel data into parasoft
please provide groovy script code to import/export data from excel file in to test suite
-
Require to change wsdl URL for multiple tst at one go.
I require to change the wsdl url of multiple tst's in one go. It it possible to do so in parasoft? If yes, then what is the procedure for the same?
-
Need a way to deploy and copy bulk stubs from parasoft virtualize to local and vice versa
We connect to a virtualize server via mobaX term and deploy our stubs. But we are able to do only one at a time. Is there any way to do bulk deployment and same to do bulk copy to workspace?
-
How to validate element value with group of elements?
I am getting rest service response in below format but i want to validate element value with my predefined data sources 1 Developer 5 Tester 7 Admin i have data source which have all roles allowed in my list ( Developer,Tester) now i want to validate all the roles from response against with my data source using parasoft…
-
How to branch to execute a different json assertion based on a status code value
I would like to branch in my test after making a rest call based on the status code. For instance. If the status code is a 200 Response Traffic -> JSON Assertor Good Return else Response Traffic -> JSON Assertor Bad Return I realize I can have two different tests with datasets of positive and negative tests but I am trying…
-
Reading XML file from local folder one by one
hi , i have bunch of XML files in local folder, i want to read each file one by one and export certain fields to excel. i am able to do for single file, but what i need is, after if finished test, it need to go and pick next file and run test for single file i am going into test request tab , selected Literal XML from…
-
SOAtest DB Tool spool to csv
Hi, I am trying to use the SOAtest DB Tool for spooling the output to a (csv) file, which can be validated afterwards in e.g. a CSV client. Is this possible, because I keep getting sql exceptions and I am confused of the correct syntax (usage of semicolons), begin/end blocks For example: spool test.csv…
-
SOA TEST Report
Where is it getting the task by author value. Can I set a generic value for the author .
-
Saving Dynamic JSON output in CSV in Columns
hi is there any way to save complete dynamic JSON output in csv in columns . right now i used write file and saved in CSV but it is saving in one row. my expectation is to save all json values in csv with 2 columns , field name and field value. i cant use data bank because json file is dynamic, one file might have 10 field…
-
How can I access a JSON Databank value in a Extension Tool using groovy.
I get the value from a response in a JSON databank. I can use that value in a next Test Rest Client call in the Headers by accessing ${varName}. I want to access that value in an Extension Tool. Is this possible? I have tried ${varName} and context.get(varName) but always getting the error avax.script.ScriptException:…
-
How to access a property variable in a Rest Client URL
I want to access a variable like &{test_env} in a url while doing a GET in a Rest Client Test. The url would look like https://mysite.${test_env}.com where test_env is a property which was created in a parent test suite using context.put("test_env", testEnv). I am including a .tst file that reads an excel spreadsheet in a…