-
WebKing System Requirements
Below are the recommended amounts of system resources required to run WebKing Hard Drive Space: Full Install (including JRE): 185 MB - Unix versions will always take up this much space Install excluding JRE: 130 MB Memory Requirements: 512 MB (Professional Edition) 2048 MB (2GB) (Enterprise Edition - load testing) By…
-
read, modify, use and save number
I need to be able to read a number from a file, increment that number, use the incremented number in other data sources, and save that incremented number to the same file. In other words, I need an incrementor that is stored between test runs. Any ideas?
-
How do I change the JRE WebKing uses?
To view the JRE currently used by WebKing: Click on Help > About from the WebKing menu bar. To change WebKing to use the recommended JRE: Start WebKing from the command line by navigating to the directory where you installed it (usually the <install directory> is C:\Program Files\Parasoft\WebKing\<version_number>). Type:…
-
Functional test
Test runs ok, but data is not commitedIm using webKing 5.5. I perform a functional test based on a successfull test case. The test preforms an insert to 5 tables into a DB. Performing this test manually test runs ok. When using webking test runs also ok but data isnt recorded into the DB. Any ideas?
-
How to export/import customized tools?
get customized tools into another WKHello! I've a test project and a bunch of tools that I customized for testing it (e.g. by defining what tools should be run during a Statical Analysis). Now I need to be able to run exactly the same test on another machine with another installation of Webking. So I need to get the…
-
How to initialized QApplication object.
Qt auto generated test case do not playThe ability to unit test with QT headers and libraries is unique. Because without a correctly constructed QApplication object. The automatic test cases generated by C++Test may not run during test case execution, thereby showing no execution results. In order to properly test a QT…
-
Including junit user defined tests.
How to include my junit tests with JtestMy question is how do I import unit test cases that already exist and are defined with Junit into my Jtest?
-
Parameterization in DB tool
Parameterization in DB toolHow to get the SQL Query in DB tool parameterized by a nested element of XML Data bank. I used the following query but got SQL error Select * from where = $[long] where long is the nested element of OrderId which is the element in XML Data bank
-
How to examine data that was sent standard out
Data sent to standard out from a file1. Create a simple function that will accept two arguments, a filename and mode File: try.c -------------cut---------------------- /* try.c */ #include <stdio.h> /* the foo function will accept the name of the file and the mode as arguments*/ /* and pass the values to fopen, then prints…
-
Parameterize URL Args For Fixed Paths Load Testing
Using the following script example, you can parameterize URL arguments during load testing on fixed paths: 1) In the ?Paths? view, add the following Python script as a Pre-Traversal method tool to the top most node in your path (which could also be one of the nodes that your are parameterizing): CODEdef…
-
One to Many Data with XML Data Bank and Writable Data Source
How do we create a one to many data sourIs there a way to setup an aggregate data source in a test suite that uses values from a single row of one data source (like a global) with multiple rows from another? For example, create a global data source that contains login information and use the same values for each row from…
-
Missing Class Def in parasoft.jar
Using HttpUnit Test CasesRunning Webking 5.5 and trying to run an API class generated by Webking HttpUnit Test Case but keep getting this error when running the class. java.lang.NoClassDefFoundError: com/parasoft/reporting/AttributeHandler at webking.api.app.WebKing.setupMessageCollector(Unknown Source) at…
-
Radio Button Labels
WebKing error for labelled radio btnsI'm using WebKing 5.5 and getting the following error: WCAG 2.0: Success Criteria 1.3.1, 4.2.1: Form controls and their labelsshould be explicitly associated with the LABLE Element WCAG 2.0: Do not use the LABEL element implicitly. I am using JSF to perform the labelling and the…
-
Suppressing errors on dynamic url
I have an errors I want to suppress on a url that has a constantly changing value e.g. ...examplePage.do?id=20456 In the above example id is incrementing everytime therefore Webking thinks it's a different page everytime. So when I supress the error it only supress's for the page with id=20456, so the next time I run the…
-
Generating a unique number
For writing to an XML Data BankTo generate a unique number so that you may write that number to an XML Data Bank for use within another test you can use the following script. Within a method tool make sure python is the selected language and then enter this script. You can then chain an XML Data Bank to the method tool,…
-
XML Data Bank to Write File
XML Data Bank to Write FileIs there a way to use the write file tool to create a file based on a parameter that is saved by the XML Databank? For example, I have a response which I've saved one of the values in the XPath and the data source column name is called "getPreparedDataReturn". Can I create a file with this…
-
Jtest supports end to end functioanl testing
Is it possible to do end to end functional testing with Jtest?
-
Using PST as a License Server standalone on linux
PST contains three products which are GRS, TCM, and License Server. To only use the License Server as a standalone installation on linux, follow these steps: 1) Download the PST file. The file name should be similar to PST_(version).sh 2) Run chmod on the file to make it executable. For instance, chmod u+x PST_(version).sh…
-
How to give expected result for a test
Can any one tell me how can I give Expected results for a test. For ex: I'm using calculaotr service, i want to give expected result for add test.
-
User Defined Load Testing Stop Actions
Sample ScriptsAs of SOAPtest version 3.0.1 (Build date: November 22, 2004), user defined scripted Load Tester stop actions have been introduced. These stop actions allow you to stop the load tester from executing if a particular condition or state is reached. Some sample scripts that can be used are shown below: CODEfrom…
-
Support for env vars in WK script
I'm using WK 5.5 for Windows, invoking WebKing scripts from a batch file, and am wondering if there is syntax for specifying folder paths via an environment variable for commands that take a filename parameter, such as 'open' and 'savereport'? Something like open %VAR%\project.wkj open $VAR\project.wkj The examples in the…
-
How to use the "Scripted XML" option
to generate XML within a SOAP ClientThe following example shows how to use the "Scripted XML" option within a SOAP Client to dynamically generate XML. To use this example: 1. Create a SOAP Client 2. Enter "http://soaptest.parasoft.com/calculator.wsdl" for the WSDL URI 3. Change the SOAP Envelope combo box to "Scripted XML"…
-
Updating regression controls from a WebKing script
how to?Hi, There doesn't appear to be an WebKing script command for updating regression controls. Does this mean it is necessary to open the project in the GUI and run Update Regression Controls after running a test from the command-line? I'm using WK 5.5 on Windows. Thanks...Greg
-
Unix debugger
Is it possible to change the default debugger from gdb to ddd?
-
Building shared libraries with Insure++ under AIX
Building shared libraries with Insure++Building shared libraries with Insure++ under AIX: The Makefile below has been modified to build a shared library with Insure++. The foo.c and Foo.C source files are first compiled into an object (using insure), then linked into a shared object , and finally archived into the shared…
-
Extending a path using record in browser
how to?Hi, After initially creating a path using Record in Browser, is it possible to subsequently add to that path using Record in Browser? For instance if I forget to include a certain click path the first time, or if I want to record initial paths as high-level "entry points" and return later to add more detail, can I…
-
Scripting - Print to the Message window
how to?Hello, is it possible to print to the SOATest Message window using the Method tool? or other? Thanks!
-
Calling methods that take arguments
I have a bunch of forms that not only change based on a users settings but also are being enhanced with new options every code cycle (little less than 6 weeks) I'm trying to get around webking updating the form itself since it sometimes fails and I have to manually go in and add a new form to replace the old. (I'm dealing…
-
Multiple Regression Controls for use with Mulitple Rows in an input data source
How do I ingore arrays of elements?I have a test that runs 4 iterations of a test and returns arrays of data. In one case I expect to verify 5 different arrays of data and in another test I only need to verify three arrays of data. How can I configure the test to verify upto 5 arrays and ignore arrays that are not…
-
Automatic Regression testing - data source iteration
Automatic Regression testingHello All, I am trying to execute the same test twice with a different endpoint value for each execution. This also must be done automaticly via the command line. How can I do this? Thank for you're help
-
Script to generate and return UUID
The script below invokes the SOAPUtil.generateUUID() method to return a string containing a univserally unique ID (UUID) CODE### Name: generateUUID ### Author: Mark Carlson ### Date: 09/15/2006 ### ### Description: Uses Parasoft API to generate universally unique ID (UUID) ### ### Usage: Returns string containing uuid ###…
-
How do I check if code changes caused problems?
Parasoft Jtest automatically executes your code and creates a snapshot of its behavior. Whenever the changes are made to the code, Jtest will compare the existing snapshot with the new results of the run and report unexpected results found in relation to the changed code. This process creates very effective regression test…
-
How can I check if code meets specifications/reqs?
Parasoft Jtest automatically creates test cases for your code and captures its behavior. You can then validate the code's adherence to specification/requirements by validating the captured behavior. Additionally, Jtest can monitor a running application and capture tests with the ?real data values? and ?real sequence calls?…
-
Can Jtest facilitate testing of complex systems?
In many situations, it is extremely difficult to consistently run tests on a complex system (for example, if your code is altering databases, depending on functionality provided by the application server or web container, and/or communicating with other systems outside of the control of your development group). Parasoft…
-
How do I achieve 80%+ coverage with Jtest?
Parasoft Jtest typically achieves 60-70% code coverage ?out of the box? by analyzing your code. Additionally, by monitoring a running application, Jtest can create tests with the ?real sequences of calls? and ?real data values? used as the application is exercised. If necessary, these test cases can then be extended to…
-
How can Jtest leverage my existing JUnit tests?
Parasoft Jtest can leverage your existing test cases in a couple of ways. First, during test execution Jtest will automatically detect your existing JUnit tests, and provide a combined report for all the tests executed. This report will include comprehensive code coverage calculations and all exceptions found. Second,…
-
How do I improve code security with Jtest?
Parasoft Jtest scans your Java code for various security violations so they can be addressed development, which is a critical step in building security into your application. The best approach to building safe applications is to build security into the application software (as opposed to testing for security…
-
How do I test servlets/EJBs with Jtest?
Testing any and all Java components that depend on the presence of web containers or application servers can be very complex. To ensure that these components are operating properly, a three-fold testing approach is recommended. 1. While you are in development and are not yet ready to deploy the components on the server:…
-
How do I build and test robust Web Services with Jtest
Testing any and all Java components that depend on the presence of web containers, application servers, or messaging layers can be very complex. To ensure that these components are operating properly, a two-fold testing approach is recommended. 1. Test your implementation layer: Use Parasoft Jtest to analyze this code-- as…
-
How do I support code reviews with Jtest?
Since Jtest's automated coding standards analysis virtually eliminates the need for line-by-line inspections during peer code reviews, these reviews can focus on high-return value analysis, such as examining design, algorithmic, or implementation issues. Moreover, Jtest's new Code Review module helps automate the code…
-
test executes 5 times, store data using XML Data Bank in Writable Data Source
Saving mult iterations of a responseI am using our login service that access a data table and runs 5 times, once for each login name that i have listed in the table. After the I run the service, I can see that it executes once for each of the 5 rows in the data table. The traffic viewer shows 5 responses and 5 differenct…
-
Cannot access global properties from a script
Is it possible to access global properties such as database account information from a script? Mark
-
Creating a plugin for WK - docs
Needed doc how to create a WK pluginFrom "WebKing.1\plugins\README.txt" I understood that WebKing supports custom plugins. Is there any documentation on how to create a plugin? (What structure it should have & what interfaces to implement, what it can(not) do ... .) Thanks!
-
Command line and project tree
Is it possible to run a test from the command line on a specific part of the project tree? In my project I have several Eclipse plugins which I test against other plugins (eg for broken links from one plugin to another) and I need to test each plugin separately. This is easy enough from the GUI, but can it be done from the…
-
viewing errors in a LoadTest
I see that when you run a load test, you can view the errors that occured. However, it only shows the faultCode, faultString, and faultActor. Is it possible to view the actual request and full response that caused the error during the load test? Thanks so much for your help! Mary
-
Path recording problem
I've recently installed WebKing. I'm trying to run a few scans on a dynamic web application, so I tried to record a path with Internet Explorer. Well, Internet Explorer loads, I fill in the application's login form information, but when I submit I just get an empty screen in Internet Explorer. I see that WebKing recorded…
-
External Tool Usage
How is External Tool inteded to be used?First Question: What is the difference between the Input field and the argument list with the External Tool? Basically, I don't understand what the intent was for using Input vs an Argument except that Input is used for a very long argument such as an XML file. Also can they be…
-
Penetration Tests
How to set them upHello I have been tasked to set up Penetration Tests. Using the wizard I have created the Test Suites for the various tests, Parm Fuzzing, SQL Injections, etc. but am not sure as to what goes into the Data Source Attck Fields. I'm assuming in the Successful & failure fields I enter the data that is needed…
-
Using values returned from Database as input for next request
I am new to SOATest and have already worked with QTP web services addins. I wanted to know how can I store the value that is returned as a response from the DB to the web service. Basically I want to use this response as an iput to my next request
-
no. of requests made per second with N users
The attached graph generated (detailed report) after my load test. I have selected a scenario, which contains three unit test clients, and numbers of users is the controlled parameter here. The N users concurrently invoked the scenario for 5 minutes of duration. "Test Completion Rate (1/sec)" is at y-axis and x-axis the…