-
Web application testing (RIA, AJAX, ...) now in SOAtest and Load Test
Parasoft's web application testing capabilities are now available with Parasoft SOAtest and Parasoft Load Test. To learn about our current web testing capabilities, see the web application testing (RIA, AJAX, ...) page and the Functional and Load Test Solution page.
-
Compiling and running a JUnit test case
From the Windows command lineFirst, you can generate a JUnit Java file for a test scenario by selecting the test scenario in WebKing and choosing Tools > Generate Unit Test Cases. (You can also generate a JUnit Java file when recording a test scenario.) To compile and run the JUnit class using Java, your classpath will…
-
How to create a new ISpell dictionary
to use with Spell ToolHow to create a new ISpell dictionary * Download the zip file attached with this post (ispell.zip) * Unzip the contents to C: This will unzip the source and built executables to C:\ispell * Add C:\ispell\bin\ to your PATH system variable * Get the respective languages .aff and .dic files. This link is…
-
The request has an attached output, but it is no longer being requeste
How do you resolve this error message?The most usual case when you get that message is when you record a functional test scenario with the "Auto Generate Response Stubs" option turned on in the recording wizard. That option causes stubs to be created for all asynchronous requests seen while recording. The stubs get…
-
Does WebKing support Modal Windows?
About WebKing support for Modal WindowsAbout WebKing support for Modal Windows WebKing can be used to perform tests on paths that include Modal Windows, the only limitation that WebKing has is that the recording of the path through the browser does not pick up what happens in the modal windows. So for functional tests that…
-
Browser Testing Timeout Options
There are a number of timeout options available for configuration in WebKing. Below is a description of the options and what they control. There are two timeout options configurable from the Preferences Panel: 1) Startup Timeout - This option controls how long WebKing will wait for the browser to tell WebKing that it is…
-
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…
-
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:…
-
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…
-
Changing Server location within the same project
Follow these steps to change server location without recreating the project again:Select the Project tabSelect the domain node (the second node in the tree)Make sure the Source tab is selected on the right panelChange the domain in the Web server textbox under this tabRefresh the project
-
Integrating a Text Editor with WebKing
Integrating a Text Editor with WebKing The selected text editor is used to edit any CSS, HTML, JavaScript, or ASCII file (unless you specify a different editor for one of these types of files). To integrate a text editor: 1. Open the Preferences panel by clicking the Customize Preferences toolbar button or choosing File>…
-
Can WebKing Integrate with WebSphere Studio
Application Developer or Eclipse?Integrating with WebSphere Studio Application Developer or Eclipse This topic describes how to integrate WebKing with IBM WebSphere Studio Application Developer 5.0 or 5.1, or Eclipse 2.0 or 2.1. To integrate WebKing and WebSphere Studio or Eclipse: 1. If you have not already done so, close…
-
Does WebKing support HTAs?
About WebKing support for Hypertext AppsDoes WebKing support Microsoft Hypertext Applications? Webking can access HTAs correctly and run static tests on HTA files. Although WebKing will not be able to record actions taken on the HTA, if the HTA generates http traffic (such as opens a webpage, etc.), WebKing can record…
-
WebBox- a web interface to control and run WebKing
tests.Control and run WebKing tests through a Web browser Interface WebBox is a web interface to control and run WebKing tests. It starts a Tomcat Web server on the machine that runs WebBox and the control interface can is accessible to other machines within the network. Advantages of using WebBox: 1. WebBox control is…
-
How to parameterize a path URL (not a form)
using a datasourceThe following are the steps to make a direct request to a url, and parameterize that URL with values from a datasource. Note, these steps assume you have already added a datasource to your project. 1) Create a path that leads up to the point where you would like to make a direct request to a parameterized…
-
How do I specify WebKing's max memory manually?
You can specify the amount of memory WebKing uses with the following techniques: Using a shortcut 1) Create a shortcut of webking.exe 2) Right-click the shortcut and select Properties 3) In the target add -J-mx###m, where ### is the amount of memory you would like WebKing to use So, for example, your target might now look…
-
How to ignore dynamic elements such as dates and
sessionID during path creation.When recording a functionality test using a browser, there are three options: 1. Create and Auto-configure Functionality Tests 2. Create Functionality tests 3. Record Only If you choose the first option, it will record the version that the user browsed through. Then it will go through that…
-
How to run WebKing in commandline mode
Webking can be run from the command line with an argument of ?-cmd? following the wk.exe in command line. For example, go to command prompt under windows. Then go to the directory which webking was installed. Then type ?wk.exe ?cmd?, that will force webking to execute in command line mode. With command line, one can use…
-
Why can I only have 1000 Virtual Users?
When the amount of users rises over a certain limit, the performance of the computer, and all the runs, begins to dimish greatly. WebKing gets around this problem by distributing the load over several computers on the network. WebKing can be run as a Load Test Server on several machines. With these Load Test Servers,…
-
Why are popups not being recorded?
WebKing uses Internet Explorer while recording paths. If Internet Explorer has popup blocker turned on, then the popups will not happen in the browser while you are recording, and WebKing will not record them to replay later. The same thing will also happen if your browser has a toolbar installed that has a popup blocker…
-
How do I use paths while Load Testing?
* 1. Right-click on the "Virtual User Profiles" folder in the Load Testing window and click "New Profile" * 2. Select the "Name" textbox at the top of the profile window and change to name to something descriptive. * 3. In the New Profile select the button "Fixed Path". A new tab should appear with a list of the paths in…
-
How do I download the latest WebKing updates.
How to Update WebKing Between Releases WebKing updates are organized into Service Packs. Service Pack Downloads and Instructions are available from WebKing Resources Page. Be sure your version of WebKing coressponds to correct the Service Pack. If you have any questions about Service Packs please email WebKing Support at:…
-
Understanding Load Test Report Terms
The following are terms used in load test reporting Requests: The number of total number of requests for each page. Successful hits: The number of successful hits. WebKing defines successful hits as hits that resulted in an HTTP status code below 400; it defines unsuccessful hits as hits that resulted in an HTTP status…
-
How to know my server crashed during load test
There are several cues from the load test reports that could indicate a server crash during load test. One is if the histogram shows positive number of requests for only a fraction of the set period, which could mean that the server went down after the shown period. Another place to look at is the Check Link report. That…
-
How to manage testing
Among multiple developers using WebKingHere are some practices to ease testing with a number of developers using WebKing: 1) Make use of comments, notes and names: Many elements in WebKing allow you to add comments, notes and set their names. For example, make sure to comment paths to show what they do in the web…
-
Can I perform security testing with WebKing?
Yes, security testing is now available in WebKing 5.0. It requires WebKing Security edition as well as an optional security license. Using WebKing's security testing functionality, you can automate security static analysis and penetration testing to determine whether your Web application is vulnerable to the most common…
-
My path has links whose text is changing
How can I click it?One solution to this problem is to create a Javascript node in your path at the point where the link appears: 1) Right-click the node in the path that loads the page with the link you want to click and choose "Add javascript test" 2) In the window that pops up, click "New" 3) Make sure sure your target…
-
Update the LicenseServer for WebKing 5.0
In order to use the LicenseServer with WebKing 5.0, you will need to update the tool definitions in the LicenseServer. To do this: 1. Open the LicenseServer Administrator application (WWWLSAdministrator) 2. Click "LicenseServer Administration" 3. Scroll down and click "Supported Tools" 4. Click the "Refresh tool database"…
-
How to validate non-HTML file linked from my site?
This can include .pdf, .doc, .txt, or any kind of files which can be accessed from your website by clicking on a link. First you create the path to whatever file you want to verify. If Record Using Browser does not add the file that you want to verify to that path (although it should), you can add it manually by…
-
How do I access the unparsed HTML of a page?
Getting the unparsed HTML of the page is not an exposed API, although it can be done easily. Our example will show how to do this from the paths tree. Highlight the primary path node at which you want to get the HTML. On the right, choose the Actions tab, then click the Tools button. Click the New button at the bottom. You…
-
WebKing won?t test or record my secure web app
Enable SSL: 1. Click on the ?Customize Preferences? icon on the icon toolbar 2. Select the ?Misc? tab 3. Check ?Trust all certificates? in the SSL section of the pane
-
I am pointing WebKing to my server log file, but
it is not parsing the entire file.Configure Server Log settings: 1. Click ?Tools | Customize Tools? from the menu bar 2. Select the ?Analyze Server Log? tool 3. Clear the ?Maximum entries? setting 4. If needed, clear the ?Maximum paths? setting
-
I access my web application via my company?s proxy
serverEnable Proxy: 1. Click on the ?Customize Preferences? icon on the icon toolbar 2. Select the ?Proxy? tab 3. Uncheck ?Use system proxy configuration? and check ?Enable proxy? 4. Enter the specific proxy information
-
How do I send my WebKing results to GRS?
Enable GRS logging: 1. Click on the ?Customize Preferences? icon on the icon toolbar 2. Select the ?GRS? tab 3. Check ?Enable GRS logging? in the SSL section of the pane 4. Enter the GRS server and port information 5. (Optional) Add any name/value attributes to the project
-
WebKing reports regression errors on my session ID
variable which I use in my dynamic app.Tell WebKing to ignore the session ID variable: 1. Select the root node in the project window pane 2. Select the ?Misc? tab 3. Add or select the variables that you want WebKing to ignore
-
Why is WebKing taking a long time to load certain
web sites?Why does it take WebKing a long time to load certain websites? Change the project?s HTTP Configuration: 1. Select the root node in the project window pane: 2. Click on the ?HTTP? button to the right of the ?Web Server? field 3. For the ?Default Pages? field, type ?*?, click ok