-
Controlling Coverage information shown in the Coverage Explorer
The following applies for DTP version 5.3.3. By default, you can see the last two builds and any other build that has been archived in the Coverage Explorer. If you would like to have more Build Ids to choose from to examine their coverage, there are two ways you can do this: Recommended - Archive the build from the "Build…
-
Unit test generation issue with #ifndef preprocessor directive
I am trying to generate unit tests of a module with a "#ifndef" preprocessor directive in the code. It looks like that the code within the "#ifndef" is excluded even if the symbol is not defined and the identifier unidentified error is displayed because type definitions and variables are not parsed. Am I missing something?…
-
Header files not being analyzed/reported (Static Analysis)
How do I enable them in the analysis and report? Using C/C++ Test for VS2013. C++test 9.6.1.97
-
Combine two fields of SOAP response to One
I would like to combine two fields values of same SOAP response into One. So that I can assert the One filed of SOAP to REST response field. SOAP Response: Field 1 = date Field 2 = Time Combine SOAP field (1 &2) to Field 3. Assert SOAP Field 3 to REST response field. How should I do this?
-
Can any one please provide the steps to create Test Asset Folder in CTP
Before you can access the .tst files on this server from CTP, you need to add them to the TestAssets folder as follows (Test assets must be in this specific folder in order for CTP to access them)
-
CTP failed to execute tests with message "SOAtest was unable to execute the tests."
How to fix that?
-
Configuring and troubleshooting the JIRA Traceability Widget
After installing the DTP Enterprise Pack and installing the JIRA Traceability Widget, it might be confusing on where you put the data for your JIRA server and the authentication needed to access it. Also, it might seem confusing to get the data to appear in the widget the way you want it too. These steps are to help…
-
Addition of WSDL is resulting in handshake_failure
Hi All, I am new to Parasoft and am trying to create a virtual asset on this WSDL - https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl. But when I am trying to add it, the request fails and results in below mentioned error. javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure Could someone help me…
-
Is there a way to export RESTful SOA tests as curl commands?
Hi, I am new to SOA tests and I am a developer. Is there a way to export RESTful API SOA tests to curl commands?
-
Appling C++Test unit tests to library projects using Code Composer 7 embedded
Greetings, I'm trying to generate unit tests for a code base that implements a library for an embedded application built for Code composer. Unlike the Parasoft Visual Studio version, the CCS 7 system doesn't seem to understand how to run the linker for the TI compiler on a 'project' that only creates an library archive. Do…
-
cppunit test library (c++test 10.3.4)
I've been trying to reproduce the ATM example from the tutorial (eclipse variation using cygwin tools for make & g++). Although the static analysis, test & stub generation work as advertised I'm finding nothing is happing when i try to execute the 'Run Unit Tests'. The target 'test' executible does not seem to be getting…
-
Unit Test unresolved cpptest objects.
The Parasoft plugin for TI Code Composer doesn't seem to pickup the cpptest libraries during a 'Build Unit Test' . The linker options on the project Properties/Parasoft/C++test/Build Settings/Linker options: are '${cpptest:original_options} ${cpptest:project_lib_files}'. Do i need to manually build the libraries?
-
No Valid license - Linux
We are trying to call the license server which is on Windows server 2012 from an Ubuntu linux system. Does the license server need to be linux as well or are there any config settings on the license server to allow linux? ERROR: Error: No valid license (MachineId: LINUX2-307da150)
-
Ambiguous protocol URL, cannot determine tool in multi-tool mode when running soatestcli on linux se
We recently installed soatest on our linux server and we're trying to run soatestcli with a test suite created from windows. We are using a localsettings.properties file to run the configuration but we get the following error :smile: "Ambiguous protocol URL, cannot determine tool in multi-tool mode: 0, ,…
-
Need an api to get the clientIP (of the incoming request) from Virtualize message stub/responder
Is there any api to retrieve clientIP of the incoming request from Virtualize message stub/responder?
-
chrome blank page in web record
Hi, when I record new web scenario with chrome I faced with blank page and "Unable to start the Chrome test framework" error. please refer to following picture. my chrome version: 66 my SOATest version: 9.9.3 also I changed my "chromedriver.exe" to new version but still it have same issue. please assist me.
-
Using Static Analysis to Achieve “Secure-by-Design” for GDPR
Parasoft has configurations available for static analysis to support GDPR. While GDPR is big and covers MANY cybersecurity topics, we've focused on the "security-by-design" aspects and created static analysis configurations to support this part of GDPR. Configurations are available below and will be in future product…
-
Using variable in Custom Correlation
Hi dears, I have below scenario, but it does not work correctly. My Scenario : 1) I use a XML data bank for getting a value from incoming request 2) I use that value for correlation (in custom correlation ) but when I call it (variable) in Custom Correlation (scripting with java script), it return empty. please refer to…
-
Send multiple response at the same time
hello, we need to send 3 responses at a time or sometimes after getting the response of another service. We are using XML req res pairs. Can this be possible in Virtualize ?
-
Greenhills C++11
Has anybody had any success using Parasoft 10.3 with Greenhills 2016.5.4 using the --c++11 compiler flag. For some reason even though the project file (.gpj) that is used to import the project settings has that flag it gets left out when I look at the console messages. Once c++11 code is encountered I see errors in the…
-
Virtual Asset to respond with different responses for the same req param (stateful)
Hi, Can someone throw light on the following situation please? I have a Virtual Asset which is invoked by ColumnID. When the ColumnID "XYZ" invokes the VirtualAsset for the first time, the VA should respond with a particular xml and for the second time if the Virtual Asset is invoked with the same ColumnID "XYZ", then the…
-
Getting license error while running test through command prompt.
I get following error while executing tests from command prompt: "ERROR: Error: Command-line feature is not licensed"
-
"Comments shall not be nested." Custom Rule in Static Analysis
Hi, I have to add this rule to perform a static analysis. The rule is the MISRA C RULE 9. "Comments shall not be nested". Can someone help me? Thanks.
-
Does parasoft show test cases pass & failed detailed report?
Parasoft test execution report shows the number of total steps executed in "Succesful Tests" or "Failed Tests" or "Total Tests" . I want to know the number of test cases executed. In The below report I have ran just two scenarios which are data driven. But it shows Succesfule Tests as 88. I want to know total test cases…
-
Consume Api REST
Hello everyone. I would like to consume Api REST for realize test with platform. And I am working with Local machine (sandbox), but I cant connect on Api. Have I configuration something to do? Regards.
-
Trespass Database datasource cache
When i use a database as datasource the virtualize creates a cache from the table when deploy (or when request first time idk), but i need to access updated data sometimes. There is any workaround for this?
-
How add an extension tool that respond requests?
Hi, is possible to me add a totally custom response, e.g pass the request to an extension script and let him to respond with a Json? I'm very confuse about how do this, i try to add a script in the message responder -> response (tab) but on this i only can manipulate context on script created in that way. I want to receive…
-
Create custom rule during Static Analysis in Rule Wizard
Hi everyone. I've some issues to make this rule in Rule Wizard: "Only ISO 9899 standard C shall be used." I hope somebody could help me. Thank you.
-
Incremented test variable
I have a test variable which stores value from Text data Bank , how can I use the incremented value of variable in my test case.
-
Is it possible run data driven test cases concurrently in Parasoft web test?
Hi All, I have created two test suites with separate data source. Each suite have set of web test cases. I have configured execution options for both suites as shown in above image. And All test cases got passed. I have selected "Test run concurrently" option and tried with test relationship option as "Test run as…
-
Execution time in traffic viewer different from the HTML Report
Hi Team, We are having an test execution focuses on defined response time. In execution result response time looks as expected. When we get the HTML Report for the same showing some additional time. Please let me know if there anything to be set to get precise value as the same as traffic. Regards Udaya
-
Groovy / Transactions / Question...
I have a question relating to groovy: If I have a table of transactions with each row containing about 5 or 6 fields, and say I have a module that involves each transaction row... I'm trying to think of a way using moduleList that I can somehow identify a transaction in the table reliably without using row numbers and…
-
AMQ Connectivity issue
Hi all, Im trying to connect the test case with AMQ configurations using SOATEST. I added the required JAR files and also i checked twice with the configuration url, context, username and password. But, i couldn't make a successful connection with the Cluster of AMQ. Please help me with this.
-
Static analysis - custom rule for ascii characters >127
Hi, I have to create a custom rule that checks that ascii characters > 127 are not present. I have some issues doing it. Can someone help me? The rule is: "Define identifiers shall be as following: < DEFINE_NAME > = D _ < USER_NAME > Where: < USER_NAME > length is at most 12 characters and not composed by ascii characters…
-
Handling preflight requests in TIBCO BW
How might we deal with preflight asks for in TIBCO BW. I have a web application which is sending AJAX ask for to my BW benefit. In the program I can see before it really sends the information it sends a demand of sort "Choices" and recovers a 200 status, yet the bizarre thing would i say i is don't perceive any procedure…
-
GCC 7.x Support?
I see from documentation that C/C++test supports GNU GCC up through version 6.x. Do you know when C/C++test will have GCC 7.x support?
-
Query on data driven approach for web functional test cases
Hi All, I am new to Parasoft web tool . I have created web functional test case with below data source. And I have created below two test cases 1. To launch browser with navigate URL from data source * To type text into search field using Xpath and Value from data source While executing test cases, browser automatically…
-
How to generate a API Response from respective request API in .Net?
Dear Team, I need to pass the API request(XML, object, json etc) of the T24 wsdl and on consuming the same in .Net using c#, I want to get the response as needed for the request XML or so we passed. I want to integrate this into our c# application and get the response XML as required from the tool for the respective…
-
Is it possible to create reusable functional modules in Parasoft web test?
Is it possible to create reusable functional modules , similar to creating functions in Java, e.g. Login module, Registration module, etc so that they can be consumed while creating test suites ?
-
TestSuite Setup Options issue
Hi Team, We have requirement where we need "Run all subgroups as part of this group", inside that "Run as group". But any nested test suite that has "Run all subgroups as part of this group" as default selection. Why do we have this setup? What we had earlier is "Run as group", which was working fine. Which has shown in…
-
Test Config Rename: Invalid file extensions being added
Hello, I am in a developer situation where I am implementing most of my unit tests via the command line tools while still using the IDE once in a while to use the eclipse-specific-features. I am finding that when I open up the IDE after a while, my imported test configurations get renamed from XXX.properties to…
-
Set TestFlow Logic in "SOAtest-Cucumber Integration"
Hi Team, I'm able to implement "SOAtest-Cucumber Integration" while getting issues when I set some test flow logic in soatest but same doesn't get replicated once it's deployed to Soatest-server for testing. Is there any way like, I can put if else logic in step_defintion.json to run certain tests depend on scenario…
-
How to do Load test for end to end flow of API!? Need help
Hi all I created .Tst project in soa test for rest services which include 10 steps deepening on each other. I used cl flow logic so if 8 execute first test case and it's passed then second will execute.. Ande rest all steps. Now I want to put load testing on this .Tst. Ford there same i imported this .Tst in soa load and…
-
How set parameter vaules of a stub depend on test case
In my project I've a stub of a fread -function (ANSI C file raed). CppTest_Stub_fread (void * _MT_var52, size_t _MT_var53, size_t _MT_var54, FILE * _MT_var55); //stub declaration How to set the out put paramer _MT_var52 from the testcase body? CPPTEST_ON_CALL("foo")->Arg("__return").Assign()->Int(5);…
-
Error Precompiling File
Hi, I have a Eclipse C++ generated project which I want to use Parasoft C++ test to perform unit testing. However, I have linkage problem as C++ test is unable to find my files. If I go into my project's debug folder and run it builds perfectly with no linkage problems. so how do I set the paths/symbols to my references?…
-
Connect parasoft soa to HP ALM
My requirement is how i will login or connect hp alm tool from parasoft soa test. Any jython script availible to login hp alm tool for desired project.
-
Integrate JIRA with Parasoft SOA test.
Hello, Currently our team is working on API Testing using Parasoft SOATest. We execute all the test cases and track the results for each test cases using ALM(VAPI scripts). Now the management has asked us to move from ALM to JIRA. Please help me to understand the steps to do it if you have done this before. Thank You!
-
Can I use any other xpath functions other than "local-name" and "text" in Request Body corelation?
-
SoaTest supports Xpath 3.0?
Does SoaTest supports Xpath 3.0? I could see some xpath functions not accessible: op:date-greater-than($arg1 as xs:date, $arg2 as xs:date) as xs:boolean op:subtract-dates($arg1 as xs:date, $arg2 as xs:date) as xs:dayTimeDuration
-
parasoft soa
We have around 100 services in soa and we are regularly running service manually.is there any way we can automate and it ll give us the result in UI or tool for same. please suggest me: