-
How to add assertion in Load Test
Hi every body. I added a "Browser Validation Tool" and I "parameterized" it, when I run test it in "SOATest" it return failure (it is OK) but when I run it in load test it doesn't work and all of test passed. I think that "Assertion" don't work in load test. Please see following images.
-
How run a test conditionally ?
Hi dears, I have a excel data source with multi columns and multi Rows, and in the SOA test i have some test (.tst) which each one included some test cases. I want to run .tst tests conditionally. it means for example check "Column A, Row 1" if value is "Yes" run whole A .tst test case, if value is "No" don't run it, for "…
-
Environment Variable Masking
Hi, I have a requirement to mask variable in external env file and use it in the script. Here is what i did In Soatest UI in my environment i right-click masked the value and exported the env It created variable value with mask-true and encrypted value Eg original value:Token After export env file masked value…
-
assertor option when the response tree is changing
we have case where the tree of SOAP response changes. Suppose we do get customer operation, in the response (first time hit) we get customer ID 1 as first child and if we hit second time we get same customer ID 1 as second child. this way if assert customer ID 1 as first child , my TC will pass for first time but, fail for…
-
Parasoft Example Project
Hi Team, Parasoft Example Project is disabled in my parasoft soa test.Can you please provide the steps to enable it. Thanks Swapna
-
How to call same java class from two extension tools in same test suite
Hi Team, I am calling same java class from two extension tools in same test suite ,first extension tool is able to call java class successfully and able to print some console messages. but using second extension tool ,I am not be able to call java class and not able to print console messages. please help me on this.…
-
Can i change the port of a message proxy in SoaTest Server?
By default, with http a message proxy uses port 9080, can i change that for a specific proxy to use something like 80 or 443?
-
calling same java class from two extension tools in same test suite
Hi Team, I am calling same java class from two extension tools in same test suite ,first extension tool is able to call java class successfully and able to print some console messages. but using second extension tool ,I am not be able to call java class and not able to print console messages. please help me on this.…
-
Does dotTest 10.3.3 support UWP application ?
Hi, Does dotTest 10.3.3 support UWP application ? On the output console I got an error about supporting uwp apps. Thanks
-
Fetching a data based on key without mentioning array position
Hi Team, we are trying to create job id for the splunk, where as job id is coming in different locations of the response. ** 1** we are trying to extract using this position 20, every time it comes in different position. /:entry/:content[1]/:dict[1]/:key[20]/text() I also tried key[name="isDone"], but no luck Any help…
-
Lock/Unlock Parasoft Project
Hi Team, We are having a setup where project explorer contains git repository version and working workspace version. Unknowingly people were starting working in GIT version. To ignore this, I am looking for an option to lock/unlock the project. Regards Udaya
-
Want to store data in variable fetching from XML databank in javascript for custom assertion
Want to store data in variable fetching from XML databank in javascript for custom assertion. Can you please help me? For example, In XML data bank I have extracted an element named "Date" In Custom script, I want to store this element in a variable. What should be the syntax?
-
What's the efficient way to send multiple responses based on particular text in request xml
I am trying to create a mock service using Virtualize. Here is what I am trying to accomplish.. 1. Extract lengthy value from incoming xml request. 2. Match for a particular content from the extracted value 3. Based on the match send a response xml file What's the best way to solve this using Virtualize?
-
How to Data correlate such that it ignores certain value while matching contents.
Example below: ** Responder Name: doJob00001 Failed to respond to incoming message using data source row correlation Values in incoming message did not match values in the data source "doJob00001"…
-
Commas in the parasoft API URL
Hi There My question is- Does comma is accepted in the API URL in Parasoft 9.10 ? Postman works for certain URL when passed with comma but when the same URL passed in Parasoft , it returns Bad request When I am passing this orderBy=companyCd,asc&orderBy=fundCd,desc&page=1&pageSize=10 I see in the Transport the request…
-
Validating responses when order of individual elements changes
We need to validate few value in the response for two different id’s. I have created test which uses XML data bank and extract the values which I want to compare. I have created another test which uses XML assertor to validate the permission value that was extracted in the first test matches with the value in the second…
-
Does SOATest support Thumbprint SHA1?
I need to use thumbprint sha1 WS-Security for signing soap body? Does Soatest support it
-
In struct overflow detect
Hi, I have simple source: include <stdio.h> include <stdint.h> include <stdlib.h> typedef struct sss{ uint8_t ss[255]; int *k; uint8_t ss1[255]; } __sss; int main(){ struct __sss *d; int i; do { d = (struct __sss *) malloc(sizeof(struct __sss)); } while (!d); for( i = 0; i < 257;i++) { d->ss[i] = 1 + i;…
-
How to use context.report in output custom tool
Hi, I am doing some custom validations. I added extenstion tool as an output to response. How can I make the custom tool failure with a error message which I can see in the report while running using cli For eg in extension tool I have a condition If a==1 Result pass Else Result fail with message “a is not 1” I tried…
-
How to use context.report in output extension tool
Hi, I am doing some custom validations. I added extenstion tool as an output to response. How can I make the custom tool failure with a error message which I can see in the report while running using cli For eg in extension tool I have a condition If a==1 Result pass Else Result fail with message “a is not 1” I tried…
-
CLI results - Jenkins - Rules documentation
Hi, Regrading CLI results via Jenkins. When trying to open doc rules documentation , I get error on the page: parasoftserver\grs..... can not access. Only after I successfully logged on with my credentials in a separate browser tab , I can open rule documentation page via Jenkins results page. Is there a configuration to…
-
SOA test to connect NoSQL DB(Aerospike)
Is there a way to connect Aerospike DB using DB tool?. There is a jdbc connector but it uses AQL https://github.com/anandintouch/aerospike-jdbc-connector I don’t find anything in marketplace Whether extension tool can be used to create java client application to connect to NoSQL DB?
-
Upload test case from local to remote using soatest rest api
Is it possible to upload your test cases from local to remote server using soatest rest api? I found one api but I am not sure about the message body http://paraosoft:9080/soavirt/api/v5/tools/copy { "from": { "id": "" }, "to": { "parent": { "id": "" }, "name": "" } } Could some one please help?
-
Deploying Test Files on SOATest Server
Hi Parasoft Support Team, How can I deploy a ".test" file from SOATest client on SOATest Server in different machine ? BR.
-
Trouble configuring Author Mapping XML file
I'm having trouble configuring the Authorship for a project. I've made an authorship mapping xml file and edited the .properties file as described here My xml map contains definitions for many authors across multiple files. I generate a report, but in the report it only lists a single author, defaulted to source control. I…
-
MQTT Session with Connect and Payload Submission
Hi, I am looking for a work around where - 1. Initially I need to connect to MQTT broker. At this step, my connecting client would be receiving some acknowledgement (NOT from broker but from other end application). Right now, I am able to achieve this with MQTT Subscriber Step. 2. Based on this acknowledgement, I'll be…
-
dotTest - Ignoring Auto-generated files
Hi, Is it possible to ignore from a project files that are Auto-generated by other application. I can suppress the files , but every new release I have new auto-generated files that are overriding old version. Any suggestions ? Is it possible to ignore according to remarks on the auto-generated files. Thanks
-
Migrating Team Server Suppressions to DTP 5.4.0
Suppressions enable you to mark static analysis violations as known (but acceptable in the particular instance) without modifying the source code. When a Parasoft tool connected to DTP finds a static analysis violation during code analysis, it checks either Team Server or DTP to see if the violation is supposed to be…
-
Is there's a way to generate "Fixed Message Length" from XML
Is there's a way to generate "Fixed Message Length" file from XML
-
Unknown host: uschleai4010v.corporate.ingrammicro.com
what need to be done for this error
-
Loop Break
Hi Dears, I have a question. How can I break test execution loop? for example I create a loop on suit A, and I write a script in Suite A, when I meet exit condition I want to break Loop.
-
How to attach a file in UI using SOAtest record and playback?
I am able to attach a file manually in UI and also during recording a script there is no issues in attaching a file. But when I am trying to play back the SOAtest script, it is not allowing to attach a file. I tried it in Chrome browser and getting message. Parasoft does not support file upload? ParaBank/Playback2.tst -…
-
Unit tests don't find shared libraries at runtime (c++test v10.3)
I have a project containing unit tests that link against a shared library. The project is created using cpptestscan, with BDF files. The BDF files have correctly captured the compiler and linker options, including the one that tells the executable where to find the shared library (i.e., -Wl,-rpath,/path/to/library). With…
-
How to capture extension tool response as a file or Variable to use in further test steps.
package com.java;import com.parasoft.api.Application;import com.parasoft.api.ScriptingContext;import java.io.IOException;import java.util.ArrayList;import org.json.simple.JSONArray;import org.json.simple.JSONObject;//import org.openqa.selenium.firefox.FirefoxDriver;public class Test { public Object login(Object input,…
-
Writable Data Source column not visible
I have a writable data source with a JSON data bank. I want to write a value in the writable data source but the option is disabled in the JSON data bank. Is there an special configuration? Screenshots attached.
-
Execution Sequence
Hi every body, how can I change execution sequence for ".tst" files in "Test Configuration" settings? For example, I want to run Test4, Test2 and Test3 with this order but SOATest run them in following order. Test2.tst Test3.tst Test4.tst . BR.
-
Resolving Jtest UTA Trial Activation Error
Description: When activating your Jtest UTA Trial, a connection is made to Parasoft's back-end license server. When the connection fails you will see the following error message: "There was a problem communicating with the license server. Please try again later and contact Parasoft if you are still unable to redeem the…
-
How to fetch the values from the extension tool respone.
Hi Team , Can any one help me how to fetch the values from the extension tool response? Or is there any to set the response in the global variables access further in the consequent test cases. Thanks
-
How to fetch the values from the extension tool respone.
Hi Team , Can any one help me how to fetch the values from the extension tool response? Or is there any to set the response in the global variables access further in the consequent test cases. Thanks
-
Increase Virtualize Heap Memory
Hi every body, How can I increase visualize heap memory? because in performance test it have problem with memory. should I use "-J-Xmx" or directly manipulate tomcat settings? BR.
-
Creating Custom Coding Rule for Comments
I am looking to create a custom ruleset to check whether code contains certain comments (block comments/normal comments) during static analysis. Any assistance on this regard would be highly appreciated
-
Integrating API scripts to ALM using a parasoft tool
Hi everyone, Please help me to integrate the API Automation scripts to HP ALM tool. For updating the test case pass/fail status. thank you.
-
Set default workspace on soatest server
Could any one please help how to set default workspace on SoaTest server: I am using remote execution client and need to specify a different workspace location other than the default one ./soatestcli.sh -server "http://localhost:9080" -report "Reports" -resource "_TestAssets/jenkins/test-run/tests/arvato.ts_t" Also I…
-
Smart API and Correlation
Hi, Smart API Test Generator can be correlate data between APIs? For example "Test1" generate a "CSRF Token" that must be used in "Test2" . Can Smart API automatically extract data (CSRF Token) and put it in a variable then use that variable in Test2? BR.
-
Print Message in Quality Task
Hi every body, How can I print a custom message in quality task with scripting in SOATest? Thank you.
-
Reports
Is it possible to "View Traffic" on successful reports also? Is there a setting for that to be displayed? I understand it may make the file very big. thx
-
Ignore namespaces in diff
Hi Team, we have a test data flowing thru different system and it has two different name spaces, but the content is same. is there any way ignore name spaces in xml diff? Thanks Udaya
-
Add schema details in Responder Correlation
hi, We have multiple request which have same main tag but we need to identify request with schema details. As these requests have different schema details. Any way to add it in responder correlation ?
-
grs.* localsettings properties are no longer supported in C++test 10.3.3 and later
Starting with C++test 10.3.3, localsettings properties with the "grs" prefix are no longer supported. If they are specified in the localsettings file, then the following will be printed out in the console: Instead of using the grs.* properties, the following properties should be used instead: GRS PROPERTY UPDATED PROPERTY…
-
Print message in quality task
Hi every body, How can I print a custom message in quality task with scripting in SOATest? Thank you.