Jump to content
WAPT Forum
Sign in to follow this  
Guest Jill

Load testing Icefaces application on Liferay portal

Recommended Posts

Guest Jill

Hello ,

 

I am trying to evaluate the feasibility of WAPT for performance testing of an application built using liferay and Icefaces technology stack. I have installed the evaluation version and recorded a simple scenario . Upon performing 'Test Script' , i could not see any action at the server logs .

 

Does WAPT supports Liferay( Portal ) and Icefaces ( JSF Implementation ) applications for testing ?

 

Regards,

JIll

Share this post


Link to post
Share on other sites

Most probably the problems appear because you have not parameterized the HTTP requests in your profile. Note that initially all requests are recorded as is. If you use a recorded profile without modifications, WAPT will simply repeat all the same requests with the same values of all parameters. However when working with dynamic site content, some parameters should have unique values for each session.

 

There is no exact algorithm on how to find all places where the parameterization is required. WAPT can do some automatic parameterization, but only for standard cases. The remaining work depends on your web site, so you have to do it manually. At the same time WAPT provides a convenient interface for this purpose. So, the general approach is as follows.

 

After recording a profile click the "Verify test" button to verify it. The profile will be executed as is, without any modifications (except for the automatic parameterization made by WAPT). When the verification is finished you can check the "Logs" folder for errors and find the first request that produced an error. The goal is to find dynamic session-specific values inside that request. You can do this by comparing different sessions. Usually such session-specific values are contained inside the request parameters, but they can also be passed inside the main part of the URL. When you find such value you need to find a place (the body of one of the previous responses) from which you can extract it. You can use the “Edit | Find” feature for that.

 

In WAPT you can select any request and switch to the "Response processing" tab in the right view. Here you can see the recorded request and server response to it. You can use the "Find" option to search for the required values in it. When you find the one you need, you can add a variable by clicking the "Add" button near the list of variables. The goal is to specify how to extract the value from the server response and assign it to that variable. Usually this is done with help of the internal WAPT functions. You can read more about them here:

 

http://www.loadtestingtool.com/help/parameter-value-dynamic-calculation.shtml

 

We also have a demo clip showing a parameterization example. You can download it here: http://www.loadtestingtool.com/quickstart/WAPTdemo.avi

 

After you specify how to extract the value to a variable, you can use that variable with help of the $Var() function.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...