-
Continuous Integration for Virtual Services
Dear All- I'm looking for best practices/suggestions on implementing Continuous Integration from source control to the Virtualize server. I m aware we have a support for SOATest integration with Jenkins. Pl. advise for virtualization project with pva files and data sources. Thanks !
-
Passing Environment variable from Jenkins to CTP job
Currently, we setup individual CTP jobs for various environments, but I was wondering if it would be possible to setup a single job in CTP, and then pass the env Variable Set based on the jenkins job (script or cmd line) rather an defining individual builds within CTP?
-
capture the incoming header fields
Is there a way to capture the incoming header data fields and store them in XML data bank. I would use them in the response.
-
virtualize extension tool scripting and storing to json databank and use it on response
I have created an extension tool to generate a few variables and store them in JSON databank. When it responded back the values are not set. Is there something else I am missing.
-
dDuplicate definitions errors
Getting Error[Li006]: duplicate definitions for APIs in .o file. Help me out to resolve this.
-
Deferred initialization of Runtime Library
In some cases where runtime library during initialization needs to have some software/hardware components to be up and running and initialized prior to initialization. e.g.: RTOS. By default: When collecting application level coverage, runtime library is being initialized as early as fist instrumented line of code is being…
-
Create XML File With Variable Information
I have a SOATest test suite with a test will drop an XML message on a message queue. The processing of this message is what the test suite will be testing. The issue is that I need to replace one of the elements in the XML message with a value that is generated at run time earlier in the test suite. That value is stored in…
-
Running Application Monitoring on QT apps
Managed to build the Application however now i am stuck at this when i tried to run application monitoring on it Any ideas on how to solve this?
-
Creating Responder Suites via REST API
I am trying to create a nesting of Response Suites using the REST API. I can successfully create the first suite using the http://10.143.146.19:10000/soavirt/api/v6/suites/responderSuites call. However when I try a subsequent call to create a suite within the newly created suite it fails. It does not seem to recognize the…
-
Scope not speciefied
INFO: Scope not specified: No resources specified as scope, using all workspace projects as selected scope. Hi everyone, I am running unittest and for the scope I have given "-data ${CPPTEST_WORKSPACE}" but I got that error. I have tried also with "-resource ${CPPTEST_WORKSPACE}" but it didnt help. Does anybody know why…
-
How to Properly Extract Values from Incoming Request Header
I have a case where I would need to extract a couple values from the incoming request and parameterize it in the response. I am not entirely clear on how to do this in Virtualize, as the docs page regarding the Header Data Bank Tool offers more information regarding its usage in SOAtest and not in Virtualize. What is the…
-
New User, errors running C/C++ Static Analysis for my chosen coding standard
Hi, When I build my project from within Eclipse, it finishes with: 07:39:00 Build Finished. 0 errors, 0 warnings. (took 14s.306ms) However, when I try to "Test using coding standard", I get the following error repeated for ~50 .c files in my project. Reporting Parasoft C/C++ Metrics Analyzer results... The following setup…
-
XML response not visible in traffic viewer but saved as write file
Hi Team, While testing my service I can see the XML response which I saved using write file , but in Traffic viewer it comes as blank. When I manually beautify in traffic response then the response gets loaded. Because of this, in report as well the test case details are not coming up. Only no. of test cases passed and…
-
instance of xxx.pva
I was wondering if there's a way to have two ports running on the same instance of pva file. If not what's the best approach in creating two separate ports one pointing to dev and other one is pointing to sit
-
multiline parasoft tags to suppress violations
Hello, I'm working under open-source C project, that is not using // style comments/ In some cases, description in the tag is very long, and can't be placed into one line. I want to know will Parasoft Static analysis tools will detect multiline tags like: /* parasoft suppress item MISRAC2012-RULE_20_4-a * "Trick compiler…
-
Moved: multiline parasoft tags to suppress violations
This discussion has been moved.
-
using plain XML responder without pretty print when sending the response
I notice this while using the plain XML Response on the response. The XML message is pretty printed ( broken down to element line by line). Is there a way to have them in one line removing spaces or carriage return below sending the message out?
-
using plain XML Message responder
This is odd, may be just my configuration. I have literally copied the response and past to input mode literal Then I change it to the following input mode below. When the input mode is form input. The data source works fine as well as the generating script works based on the data source. However, the issue I encounter…
-
virtualize reponse scripted XML
I never had created a scripted XML using groovy or jython for the whole response. I am wondering if you can share some script for the below output. John Doe parasoft
-
virtualize response
I copied a response message and the message does not come with the tag soap envelope and soap body. I literally change this to form input so I have the flexibility of add and removing elements. When I send the response to the system. The system would not understand the soap envelop and soap body where the response messages…
-
virtualize delay response
I store a value on data source for timer delay value. How do I use this value (10000) before sending the message response?
-
"No tests were executed" msg in Jobs while running the Job in CTP
Hi Team, I am trying to run a job where I have saved my tst file in Test scenario and executing the job from the system in CTP. I am getting msg as "No tests were executed". Although i have uploaded the tst file the same way like others it is not working. If I execute the tst from Test Scenarios, I am seeing the tests are…
-
request and response log traffic viewer
I have started my virtualize server and was able to send requests and mock the response coming back. I have enabled the traffic object ->traffic viewer, under the responder to catch the request and response to troubleshoot some issues. However, I could not see the mock request and mock response on the traffic object. Is…
-
Unable to open .tst file in the explorer
I am getting the below error when i tried to open the .tst file. Soatest is unable to read the fil *** due to the following error. java.io.IOException: com.ctc.wstx.exec.WstxlOException: Unexpected end of ZLIB input stream
-
Error Refreshing CTP
Good morning, When I attempt to refresh CTP I am receiving the error "An error has occurred handling the request in SOAtest." with no additional details. When I check the catalina log file on the CTP server, I am seeing this error repeating. 08-Jun-2021 09:51:14.752 INFO [http-nio-8080-exec-327]…
-
how to enable/disable an optional element on virtualize response
I would like to use only one responder for mocking response. In the response, there are two fields that are optional elements. In case, the datasource values are blank. I don't want them to be send out as part of the response. However, if there are value in my datasource. I would like them to be send out. This works on…
-
how to use datasource correlation virtualize
I have got a soap request with element id value of AAA1xxxxxxxxx. I only need to match the first four characters to correlate with the datasource (excel sheet). I don't see it's possible doing that data Correlation request Body ( as this take the xpath element) and Datasource Column Name only. Is there a way around this.
-
I have a requirement to send sync and async response for a single request in Virtualize
I have a requirement to send sync and async response for a single request in Virtualize. Please suggest me the way. The requirement is to send the sync reponse first then it will the the async one.
-
How to retrieve the newly inserted (using DB tool) data in bookstore using getItemByID operation
I inserted the data in to book store using DB Tool and I tried retrieving the data using getItemById operation which is present in bookstore wsdl. Though data is present in BOOK table i am receiving no book with the id 10 was found How do I retrieve the newly added data in BOOK table using webservice ? Do i have to…
-
Quick guide to setup C/C++test Professional (Static Analysis) on Jenkins
This guide will Comprise of 3 Major Parts: 1 - Initial Project Setup 2 - Running from a command line in Jenkins 3 - Setting up the license on the CI/CD (Jenkins) Machine Part 1 : Initial Project Setup Step 1.1 Creating your Build Data file (.bdf) This is the command I used to create the .bdf :…
-
slimboot bios code coverage
I am attempting to use parasoft code coverage for slimboot bios https://github.com/slimbootloader/slimbootloader it appears that code code coverage requires a test app to run on the target which makes use of a runtime library. Since slimboot is a bios. I do not know how to make that work. The slimboot build process…
-
Constant SoaTest Crashes
Lately, I have been experiencing more than usual crashes from parasoft. Now it appears to happen when I execute a test suite, and after 6 or 7 steps of the 50 or so complete Parasoft SOAtest & Virtualize: Version 2020.1.0 (9.10.9.20200430) -- Copyright (C) 2020 Parasoft Corporation## A fatal error has been detected by the…
-
Explicit Initialization rules are conflicting with Entity Framework
When trying to do code analysis on web services build using EF Core, I am constantly getting this violation For this code: This violation occurs because the DbSet object is build by the DBContext, which does not use explicit initialization This error is occurring every time I'm accessing a database, which is leading to…
-
Kerberos Authentication
I try to setup Kerberos Authentication but hit to the error below. The file krb5cc_ is available in the system, but not sure why SOATest cannot find it. Any idea on how to resolve it?
-
chasepaymentech CC encryption
I'm trying to dynamically encrypt credit card info before passing it t to our API's (simulating the process in the UI, using dynamically-generated PIE settings for the payment with our client chasepaymentech specific .js (https://safetechpageencryptionvar.chasepaymentech.com/pie/v1/~removed~/getkey.js). The sample results…
-
How to get array item count and then increased total count by +1
I've a scenario to add item into array using POST call. Now I've to validate whether the item is added into array list or not, so will check array size increased by +1 or not. I will use GET call to get count of array before and after POST call. Any solution? Here JSON Data Bank may not work, even if get a total count, but…
-
Unmarshalling error with virtual responder
Hello, I have a responder set up to simulate a service our web application depends on. However, when we use the responder in our application workflow we are receiving the following error: org.springframework.oxm.UnmarshallinFailureException: JAXB unmarshalling exception; nested exception is…
-
Getting IOConsole updater error when executing test more time by pounting to virtual server
Hi Team, I face one critical issue while executing the test repeatedly (300 to 500 transactions). The Parasoft server gets slow and some IOconsole updater errors occurred. when I reboot the server then again it's started working. but the same issue again when executed more runs. Refer to the below screenshots for the…
-
How to know how many hits limit to virtual server for professional desktop edition
Hi Team, I have a professional desktop edition version. so the number of hits to the virtual asset is limited to 50000 per day. can you please help me if it's correct. refer below screenshot. Thanks nihar
-
How to view the number of hits for a virtual assets in CTP
Hi Team, Can anyone help me on how to view the number of hits for virtual assets in CTP. I can't see that report. refer below screen. i want to see this type of report but not able to find. Thanks Nihar
-
Jython not returning Data Source value
I am using soavirt 2020.2 version. I am trying to use extensibility tool to get a value from writable datasource and get the error below. I tried convert to string and still the same. Assuming there is a convert to unicode in Jython but could not find anything. Any help appreciated. I eventually want to get current time in…
-
Guide and exercise for uploading the correct artifacts for Source Control
What Files should be Checked into Source Control? When using Source control with C/C++test, make sure to have the following files checked-in: * .parasoft * .cproject * .project * All source files that are needed for the project * Test Folders or other folder(s) you use for your Test Suites * Stubs Folders or other…
-
Debugging a .dll with Insure++
You will need to debug the process in which that the dll actually runs. If you know the name of the executable that loads the dll, and can run that executable by hand, the simplest approach is to simply run that executable under InsureSpy.exe, inject.exe, or Visual Studio's debugger by clicking "Insure++ Debug" within…
-
Report that has request/response in SOA 9.10
Normally in the report for project in which a few TCs are failed we can see the request/response XML by clicking on traffic viewer on the HTML report generated. Similarly how to get all the passed TCs details as well with a link to request/resposne XML ?
-
C++ Fast Track Course
Hello Everyone, Can anyone know fast track course for C++. I am trying to look at the course in which the duration is less. I have checked a video course on youtube and InterviewBit, So Can suggest me, Is it a good course?
-
SOAtest CLI - Increase Functional Traffic Limit KB's
Good afternoon, I would like to test out doubling the capacity of traffic reports from the default of 500kb's to 1000kb's. I am assuming that the desktop and soatest server utilize the User-Defined Example Configuration that ships with Parasoft, and this is what gets utilized if you just click the play button on any test.…
-
Summary of violations by rule && resource group
On the DTP dashboard there is a widget to view 1) violations by rule and 2) violations by resource group. Is there a way to combine these filters and view violations by rule && resource group? I am aware this can be achieved in the Violations Explorer, but that will give me a comprehensive list of all matching violations.…
-
does out of sync virtual assets have any impact on performance
Hi Team, I observe when we execute after pointing virtual environment, then some VA is going in to out of sync. does this impact on the functionalities for the respective virtual assets?? should we remove them every time from out-of-sync sections?? Or is there any way we can remove out of sync VAs from out side at once not…
-
Undefined Reference to Time: C/C++ testing
I am doing a cross platform testing to generate runtime executable with compiler TricoreGCC . I could generate the test cases but am not able to run them or to create the runtime executable. * I have also built the runtime library with the compiler which i am using and added it in to the linker options. * Added the include…
-
Multiple linker errors when using unit tests for a Keil µVision project
Hello, I have a linker issue when using unit tests (cpptest) for a Keil µVision project. The versions are: Keil Arm MDK 5.27 (Windows 10) Parasoft C/C++test Professional 10.5.0.20201022B1126 (Standalone) The project was created by importing the batch generated from Keil IDE. Generating Unit tests and stubs works fine, but…