-
Python or Jython script to change a value in XML file and update to a new value and use as data
My scenario: I want to execute a query and get XML , store in output file, picked up in python and changing few values inside XML and again using it as data for subsequent story
-
Code to save Traffic's Element View Response in file.
Hi Guys, I'm looking for a code which let me save rest service Element View response in some txt file.
-
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 ~~~~
-
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…
-
oracle.jdbc.driver.OracleDriver cannot be found by com.parasoft.xtest.libs.base_9.7.7.20180207
Hi Parasoft team, am getting below error when i try to connect to ora DB, I have included ojdbc6.jar in JDBC driver, DB tool is not surving my purpose so we have to handle this via scripting, can someone help on this please Additional Details: oracle.jdbc.driver.OracleDriver cannot be found by…
-
Query related to concatenating a data bank value and text data bank value and passing it as a Url
My test structure is like that Test1- Rest api call with few query parameter.One query parameter contains a Url. I have collected all the values of query parameters in Rest Url Data bank Test2- Rest api call and response is a session key in text string format, which I have collected in text data bank Test3 - Rest api call…
-
How to parse response in jython extension tool?
Any tutorial to parse xml response in jython extension tool? or any library best to use with soatest
-
How can I retrieve/use the project location in a relative path to open and read/write to a text file
I am using the following Jython script to read and then update a value from a text file on my local pc, but need to be able to use a relative path to identify the file in both line 7 and 14. I have verified my PROJECT_LOC variable is: "C:/Users//File/Path/To/Workspace/Project". Any help is appreciated. Works Locally but…
-
How to add pymongo jars(files ) on soatest server?
In soatest tool, we configure by giving pymongo jars path in windows-->parasoft-->scripting-->jython home... In the same way how can we map or congifure files(jars) on ctp(soatest server).?
-
Wait in soatest environment
Between my test case execution i want to insert some wait time. how can this be accomplished. i have tried sleep call in extension tool, but is there any build in feature?
-
Extension Tool not showing script methods or errors
hi guys, I changed a couple scripts in my scenario. Now when I open an extension tool it doesn't show the methods in the jython script anymore. 'error message' and also the 'Evaluate' button do not show any error message. is there an additional source for errors I could check to find what I did wrong? pydev code analysis…
-
Invoke soatestcli to run selenium TCs in soatest.
Hi Team, I have some selenium TCs present in soatest, where I am able to execute those after inserting all jars there. But if the same thing I am doing with the help of soatestcli I am unable to do that. It throws error selenium class not found. I know I need to wrap that into jars and pass the path in localsettings file.…
-
Modify Classpath feature in CTP??
Do we have modify classpath feature available in CTP as it's available in SOAtest desktop version.
-
soatestcli unable to execute .tst that has selenium and dependent modules.
I have created one tst in soatest which invokes selenium and some other dependent jars. If executing through SOAtest everything is working fine but if trying to execute through soatestcli getting errors saying "selenium apis and parasoft apis are missing or not found." Note:I am invoking soatestcli thorugh remote pc via…
-
How to programmatically deploy a stub
Hello, I have an SoaTest with a stub simulator that I should deploy on Soa Server each time I want to run the Test. So I want to know, is there any solution to automate the deployment of the stub on the Soa Server with a jython script or java class ? Thanks,
-
Extract data source value using javascript
I need to extract value of datasource column using Javascript and combine it with other values. I see some examples of Jython in the forum. Can't we achieve this using Javascript in SOATest?
-
Pymongo in soatest
how to add the pymongo in soa test. and from where can i download the pymongo jar file for jython?
-
How to Get the Execution Status of TestSuite TCs??
Hi Guys, I am looking for script or anything else which can help me to identify no of TCs got pass or failed. Though I can achieve this functionality using extension tool and executions options but looking for direct script which can return me status true or false.
-
Explicitly Passing any Test in SOAtest.
Hi Guys, As we have ****Context.Report()**** method to explicitly fail any scenario.Do we have any method to get it Passed or Success explicitly.
-
How to skip test cases in jython extension tool?
I have scenario where based upon response received i want to skip subsequent test cases . This i want to do from jython ext tool. is there any possibility ?
-
Changing python version in Parasoft SoaTest
I need to use paramiko in one Extension Tool test. This python module needs python 2.6 or greater. I have installed in my computer Python 2.7 and 3.4, and configured python interpreter for both. Also, I installed jython 2.7, and configured jython path in the preferences. However, when I run this simple test script: import…
-
Jython - ImportError: No module named base64
I am trying to use Jython script but I get this error " ImportError: No module named base64". How do I fix it in Parasoft? Thanks!