�
Hi daniel,
  Thanks for your reply.
please clarify on this whether i have done is correct or not.
First Let me expalin our application structure:
 /MessageTracking/jsp/UserLogin.html ---> this is the first page, where 
username, login is entered. After Sucessful login, it calls the servlet in 
MessageTracking/servlet/UserAdminServlet. then this servlet controls the whole 
application.In that servlet i have written many switch cases where based on the 
request calls the corresponding JSP pages.Before calling that JSP pages,we have 
set attributes,which java script and CSS files to be used by that particular 
JSP pages.

one switch case code is 
DocumentReportHandler.actionGETDOCUMENTREPORT(request,response,userDetails);
request.setAttribute("Title","C4.net:Document Report:Search");
request.setAttribute("Style","/MessageTracking/jsp/style.css");
request.setAttribute("Script","/MessageTracking/jsp/validation.js");
scObj.getRequestDispatcher("/jsp/DocumentReport.jsp").forward(request, 
response);

please explain me for this scenario, and check whether i have done is correct 
or not. if not please expalin me what i have done wrong.

In JMeter, i have created 
   Thread group
       1.Http request --> for message/jsp/UserLogin.html page
       2.Http request --> /MessageTracking/servlet/UserAdminServlet
           a.Regular expression extract 
       3. For each controller
            a. Http Request ---> ${regexp}
       4. View Result in tree

In Regular expression extract I have given regular expression as
(.*\.jsp) for finding .jsp file.( i think something wrong in this ) please tell 
me how i have to do in JMeter.

Please try to clarify my doubts in your convenience time.


Thanks and regards
S.Kalaivanan


On Mon, 24 Jan 2005 Daniel Browne wrote :
>It is probably worth you reading some background material on regular 
>expressions. Jmeter uses Perl regulaer expressions so have a look at:
>
>   http://www.perldoc.com/perl5.8.4/pod/perlrequick.html
>
>To match a line that contains "/jsp/InterchangeDetails.jsp" anywhere on the 
>line, use the following as the regular expression, for example in the 
>"Patterns to test" part of a "Response Assertion" try:
>
>    /jsp/InterchangeDetails.jsp
>
>Then add an "Assertion Results" listener to view the results.
>
>Cheers,
>Daniel.
>
>kalaivanan subramani wrote:
>
>>   Hi,
>>
>>I am new in Jmeter and Regular expressions. Please kind enough to find out
>>one solution for my requirement.
>>
>>In my jsp file i have one line like
>>
>>"scObj.getRequestDispatcher("/jsp/InterchangeDetails.jsp").forward(request,
>>response);"
>>
>>Sir, using regular expression I have to get path of this file like
>>"/jsp/InterchangeDetails.jsp"
>>
>>Kindly requesting you to help me on getting that.
>>
>>Thanking you in advance
>>
>>Thanks and Regards
>>V.R.Suresh
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

Reply via email to