-
Is there any option to use both the https and MQ Transport in Same Test suite with the SSL
Kindly let us know if there is any possibility to use both the https and MQ Transport test cases in same test suite
-
Running SOATest Web Scenarios on Windows Server 2012 R2.
I have a small web application that I created a number of SOATest web scenarios to do some regression testing. We are using SOATest as part of our automated build process for our IBM Message Broker systems and are looking to at expanding SOATest to our web applications. The issue I am having is that the web scenarios don't…
-
Select a link in a search results table based on a formatted value in the row.
I have a web app that will display a list of records after a search. I need the test to look at the first column of each row in the returned results. The rows of data are coming from two places and so the first column of each row will have slightly different formats based on the source of the data. If the cell in a row…
-
How do I create a custom static analysis rule to count the number of pre-compilation directives?
Hi, how do I create a custom rule to count the total number of pre-compilation directives in my entire software using the Rule Wizard? I had spent an entire day attempting only to fail.
-
Conditionally extract json response using Extension tool
I want to extract content for all titles having Red color from given Json response so I can send it in next Request. eg. response:- { "titles":[ { "name": "T1", "color": "Red" }, { "name": "T2", "color": "Green" }, { "name": "T2", "color": "Red" } ], "content":[ "T1": "Some description 1", "T2": "Some description 2", "T3":…
-
Detail list of SOA Test Steps and possibly assertors
Is the a script or export method that can show the individual test steps (tree list or such) along with assertors? We are looking to be able to pass our API test info to our manual or front end automation testers, so they are not duplicating our work, but also to be able for them to see what possible gaps we may have from…
-
Dynamic Scripted URL from datasource
In SOAtest9.9 How do I script the URL/endpoint to create REST endpoint dynamically by concatenating values from writable datasource columns. The test should be able to run post request for each data row.
-
Binding error
Receiving "Make sure the binding is configured with the same version as the expected messages.The envelope version of the incoming message does not match that of the encoder" error when I point the service to virtual asset. Is there any configuration setting that needs to be done ?
-
Need to use the multi dimensional array in SOATest
In excel Data Source we have a Column X it is having the values 1~2~3~4 like this. IF we want to pass these 4 values in same node with multiple times in same iteration how we can do the parameterization using parasoft. Kindly let me know if we have any option for this one.
-
Extract values from SOA Test to a spreadsheet
How do I extract the results/values from SOA Test to an excel spreadsheet AUTOMATICALLY
-
Bitfield not compliance with MISRA 2012
Hello, I try to wrote this struct : struct toto { _Bool TEST : 1; }; But Cpptest tell me that TEST should be a int signed or not following Rule 6.1. But Misra tell us that it is allowed to use _Bool. So what's wrong ? Thx.
-
Announcing Parasoft Selenic 2020.1
Key capabilities introduced in Selenic 2020.1: Parasoft Selenic expands support of industry-standard Java-based UI testing technology including JUnit 5, IntelliJ, and Applitools. Additionally, it now includes support for requirements traceability and performance benchmarking. Support for JUnit 5 * Selenic offers full…
-
Virtualize: Multiple Responder stub: Configure failover
Hi, Currently I am involved in creating a static stub using Multiple Responders in Parasoft Virtualize. I wonder how I can configure a failover mechanism for sending a dedicated response message when the correlation settings do not match (e.g. a 404 fault). It is just like sending the default message in SOAPUI, when search…
-
CTP : Mapping Javascript methods to xml field in CTP
I have tst file loaded to CTP. All the test scripts have a field which is linked to a javascript file to get unique value. However, when i ran the tst in CTP, scripts are failing because javascript file is missing. I have added javascript file to CTP, but now am not sure how do I call / map the methods to test scripts in…
-
Mass updates to test steps and suites - possible?
Is it possible to apply mass updates to a tst in SoaTest? We are moving from http 1.0 to http 1.1, and adding additional info in our request headers along with removing basic auth. Due to the large number of tests (1 to 19) and test suites (0 to 12) in our tst files, it would be nice to update a grouping within a tst, all…
-
Limiting and Rolling Virtualize Logs
This forum post will go over the process for creating, limiting, and rolling logs for the Virtualize WAR installation. The purpose of these changes is to avoid the issue of running out of HDD space. Sections: 1. Configuring a Virtualize logging configuration file with file output 2. Configuring a Virtualize logging…
-
ISSUE: header values translating variables in part.
I recently have run into the following issue where I set a variable in a pre-req (previous) call and then use the value in the header of subsequent calls. Lately, it appears as though 1 value is translated in a header, but the second value is not. initial header with variables: Cookie: authcookie=authorized;…
-
How to debug Extension tool and check the logs
I have a simple goovy method in Extension tool that I want to debug and see the output. When I click on Evaluate button I do not see anything happening. When I run this test it simply fails with following message in Console. Test 2: Extension Tool - failure Test failed I tried to put println statements but nothing gets…
-
Number of TestCases in a TestSuite dynamically
Is there a Parasoft API that can retrieve or obtain the number of Testcases, dynamically, given the tst file.
-
Testsuitename dynamically
Hello All Is there a way, one could retrieve the testSuiteName, thru a variable, dynamically, which can be leveraged in all the scripts for logging purpose. Anon
-
How can we generate two different extent report while doing cross browser parallel execution
How can we generate two different extent report while doing cross browser parallel execution
-
Parasoft virtualize groovy scripting example to read the json element
I am using multiple responses in JSON responder where the response is mapped one to one. Now I am in need of dynamic value in response like timestamp, value based on the random number and etc. It is should be based on input values. I tried varies example to get input string values in Groovy scripts without much success Ex:…
-
Parasoft plugin 10.4.3 for visual studio skips all files
I was using 10.4.1 previously and had no issue with running static analysis. However, once I updated to 10.4.3, all the tests skips all the files, checking 0/0 files. Is there some incompatibility between the 2 versions or is there some necessary steps to be taken for updating from 10.4.1 to 10.4.3?
-
Building a dynamic JSON Request body with n objects in an array
Hello, I have a use case that I'm trying to implement in SOATest and am running into a wall. I have a Service1 that returns n number of Account objects. There are a varying amount of accounts that could be returned for a given request as that user may have more or less accounts than another. I have a second service,…
-
Getting tsts to execute on a mac
Hey Parasoft, I had to reinstall eclipse (from 09-2019 to 03-2020) on my mac. But when I try to execute a tst, it failing right away with no text to explain why. What can I do to fix this? Thanks, Bryan Cox
-
DataRepositoryServer for Mac
Hey Parasoft, I have a mac what do I need to run that is equivalant to the server.bat that is in the DataRepositoryServer file? Thanks in advance, Bryan
-
Python script error
I am trying to add new column header in data and in assertion i am using that column header in code Error Message: DataSource: Positive (row 5): Error during script execution. View Details for more information. java.lang.AssertionError ~~~~
-
Multiple Responses
Hi All, I am New to Parasoft, and trying to stub and virtulize few Operations. I have created 3 response and based on my Incoming request it has to pick the right response. for Eg. 1. If my incoming request is of Reffer it has to pick the Reffer Response. 2.If my incoming request is of Approve it has to pick the Approve…
-
MISRAC2012-RULE_1_1 Compliance Pack settings for C99
Hi, There are two sets of rules for this Rule: two for C90 and two for C99. I am developing my program using C99 standard. Shall I unmark the two C90 rules and leave only C99 rules? (both 4 are marked by default) Thanks, Ritchie
-
Trouble executing with stubs
I've made a couple of stubs using the "Lesson 15: Configuring Stub Behavior in Source Code" chapter in "C++test Host-Based Unit Testing" guide. After running "Collect Stub Information" I created User Stubs for the functions I needed to stub. Trying to execute my test case give the error: function…
-
Memory test cases using Parasot C++test
I am looking for creating unit test cases for memory testing especially checkered box or galpat test. I did research in parasoft documentation however there is no such example. Did anyone got to create any tests using parasoft?
-
Json Assertor Throwing an error in Bamboo execution
I have some value assertions in json assertor tool and the test works on my local, but fails in Bamboo with below error. Can someone please help me understand what is missing? An error occurred while processing an assertion: net.sf.saxon.trans.XPathException: Cannot convert XPath value to Java object: required class is…
-
Adding more header files to be analysed by extension (.gen).
We are working with C/C++test Standard. A prospect was able to analyse header files (.h) by providing -module switch. (Feedback - not very intuitive to find this option in docs AND understand WHY "-module" would control the inclusions of headers into the analysis - but that is a separate discussion) . So - they have some…
-
Soa is crashing while run the Exension File
I am using a extension tool where I am running java script .This script contains winium driver and sikuli apis ,when ever I am running this script.My soa crashed and showing the Error ,as you can see in the attached screenshot .I tried every possibility like add the eclipse ini file add both -vm and mention the javaw.exe…
-
Execute Selenium tests with Selenic and API tests with SOAtest at the same time
Selenium tests execute from the command line or the IDE. SOAtest tests also execute from the command line or from SOAtest. So you could execute them both from the commandline together. There are many ways to do this, like from Jenkins. Here is an example script: AGENT_DIR=<PATH TO SELENIC JARS>WEBDRIVER_DIR=<PATH TO…
-
Code composer studio unit tests fail to re-run
Hello, I have run into a problem using the embedded unit testing with c++ test. The sequence of events is; * Write some unit tests * Run TI CCS v4+ tests [C/C++ test console output] Target running... Interrupt to abort . . . * ~50 seconds after starting [C/C++ test console output] SUCCESS: Halted at correct location * All…
-
Traversing through json elements using JsonOutput
Requirement: I need to read a json from a file, traverse through the JSON elements and modify multiple values. I am using JsonSlurper to parse the text and traverse through the elements and able to modify the values. My request json contains multiple json arrays and json objects and elements. Issue: I have 2 unique…
-
Writing console output to a file
I am using the command virtualizecli -startServer >virtualizelogs.txt to write the logs to a file. But after executing the call to the server/virtual asset, I don't see that file is getting updated with the Application.showMessage statements.
-
How to import my tests in another tests
I am trying to create a common function library, created a test .tst file added an extension tool and written some methods in it. How can use this methods in other test .tst - extension tool. Is there a way to do this. Appreciate your help.
-
Use of Aggregate Data Sources in SOAtest: MAX nr of fields combined?
Hi, Currently I am building a project in SOAtest (9.1.0.6) in which I would like to combine some internal table data sources into an aggregate DS for use in XML Assertors to validate the contents of several DB tables. I have a project with several tst's underneath. I declare the DS on project level (not as Global DS!)…
-
Error during parsing file (C++ static analysis)
Hello, this is my scenario: * Windows 7 platform * Parasoft C/C++ 9.6 Eclipse IDE * g++ inside Cygwin installation * Static analysis on C++ code (this code is compiled and executed on Linux platform) After run a CRules static analysis I got the following errors: size_t undefined, nullptr undefined, __int28 undefined and so…
-
Static analysis with preprocessor directives
I am running static analysis tool on C code and getting a MISRA2012 Rule 5.5b violation: The names of macros that exist prior to preprocessing should be distinct from the identifiers that exist after preprocessing (c99) [MISRAC2012-RULE_5_5-b]. It appears the cpptestcli is processing both the #ifdef clause and the #else…
-
Gmock integration
Have anyone tried to integrate Parasoft with GMock or other Mocking framework?
-
Is there a way to import JSONObject in Groovy
I need to convert string to json object using Groovy. But when I try to add the statement import org.json.simple.JSONObject I get the compiler error saying unable to resolve the class. Please provide some guidance.
-
Is there a log file to find the Hit Count ?
Hi Team, I need to prepare a desk, to show the Hit Count happened over the period for the given services, Currently I can find them under Monitoring tab, which shows the per day Hit Count. Is there a log file where I can get the previous Hit Count details ? Thanks Senthil. M
-
Correlation / Extract Element Regardless of Order in the Request
Is it possible to do a responder correlation based on a particular element and its value, regardless of its position in the Request body? The case I am working with is where the user sends a request with the same elements, however the order randomizes each time. For example, if I am checking for the value of "Status" which…
-
Validate IDs and throw error if invalid ID.
Hi, I have a requirement where i need to validate IDs and throw error if invalid. I have created data source and added available IDs. I have created one request and assigned data source to it. I am passing two parameters in my responder. I tried to execute but i am not successful in throwing error. ex:- Created Data Source…
-
Running SA & UT to cover conditionally compiled code
I am trying to figure out the best solution for running static analysis and unit tests on all of our C++ code. There are 3 different pieces of hardware that our code runs on. We have sections of our code that are compiled out depending on name we pass in to the compiler, IE: “-DHW1”. This is the primary way our main…
-
Export results to Junit or Nunit - possible?
After executing a test in SOATest, is it possible to export the results to a Junit or Nunit report.xml? I see that xunit is supported, but when exporting, I only get an empty xml report as attached. Is there a setting I am missing, possibly?
-
Jtest code in eclipse
Hi, I have generated test class using jtest IDE. I want to run this code in my normal eclipse editor How to do that? How to use this sonarqube?