Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1

    Javascript issue - Loadrunner

    1. What version of LoadRunner (LR) or PerformanceCenter (PC) are you using? (specify which tool LR or PC)
    LR 9.0

    2. What is the protocol you are recording?
    Web (HTTP/HTML).. also tried with Javascript vuser.

    3. If HTML - are you using HTML-Advanced with URLs or,
    yes HTML Advanced simulating user actions.

    4. If URL mode:
    concurrent groups.
    5. Which LoadRunner/PerformanceCenter feature (FPs) or service packs are you using?

    6. VuGen Recording - are you using Old or New Recording Engine?
    New. Tried the older engine for Javascript vuser.

    7. What kind of LoadRunner license do you have -

    8. If subscription, is subscription current or expired?

    9. What platform(s) (PCs) and Operating Systems (Windows-XP, etc.)? Include version and service packs (SP1 or 2, etc.)
    Windows XP 2002 sp2

    10. If you have filed a service request with HP/Mercury, what have they told you at this point with respect to your issue?
    No Solution apart from asking me the browser version and O.S.

    I am currently working on a web based application (Java) that uses Microstrategy for reporting. The web page has multiple links which generate reports when clicked. When the user clicks a link, a Javascript is executed and the corresponding PDF report opens in a new window. I am trying to simulate a user clicking on the link and measuring how long it takes for the report to render on a new window.
    I tried with HTTP/HTML protocol, (HTML as well as URL based), click and script protocol as well as Javascript vuser…no luck when replaying inspite of correlating what needs to be correlated.
    Has anyone worked on a similar app and faced similar issues? Any help is highly appreciated.

  2. #2

    Re: Javascript issue - Loadrunner

    rendering is client side activity....you can not measure it using http/html...at the most you can measure how long it takes to download pdf

  3. #3

    Re: Javascript issue - Loadrunner

    So does it send request to the server?

    And what does it mean "no luck"?

    And how do you know that you correlated "what needs to be correlated"?

  4. #4

    Re: Javascript issue - Loadrunner

    If you want to view these PDF using VUGen runtime viewer, I do not think you will be able to see them. You need to enable extended log and then need to read the replay log to make sure pdf's are getting downloaded.

    good luck!!
    --->A slow order processing engine necessarily means slowly processed orders.

    My LR Profile:-


  5. #5

    Re: Javascript issue - Loadrunner

    The request is being sent to the server. The printer friendly link (that is clicked in order to generate the PDF) is being clicked. I can see from the run time viewer that an error occurs.
    Error Exporting
    Cannot display exported data: unexpected execution mode encountered.
    Please contact your administrator

    I do not see the PDF downloaded in the replay log (Have extended log activated).

  6. #6

    Re: Javascript issue - Loadrunner

    Run time viewer won't help you here for sure. So what do you see in the extended replay log instead of pdf? What server returns to your request?

  7. #7

    Re: Javascript issue - Loadrunner

    <div class="mstrAlert" name="appErrBox" id="appErrBox">\n
    Action.c(76): <div class="title">Error exporting</div>\n
    Action.c(76): <div class="message">Cannot display exported data: unexpected execution mode encountered.
    Action.c(76): Please contact your administrator.</div>\n
    Action.c(76): </div><!--\n
    Action.c(76): Class: com.microstrategy.web.app.transforms.RWExportTrans form\n
    Action.c(76): Method: transformForRequestSuccessful\n
    Action.c(76): Stack trace:\n
    Action.c(76): com.microstrategy.web.app.WebAppException: Cannot display exported data: unexpected execut
    Action.c(76): ion mode encountered. Please contact your administrator.\n
    Action.c(76): \tat com.microstrategy.web.app.transforms.RWExportTrans form.transformForRequestSuccessful(
    Action.c(76): Unknown Source)\n
    Action.c(76): \tat com.microstrategy.web.app.transforms.AbstractAppTr ansform.checkStatus(Unknown Source)
    Action.c(76): \n
    Action.c(76): \tat com.microstrategy.web.app.transforms.RWExportTrans form.renderShell(Unknown Source)\n
    Action.c(76): \tat com.microstrategy.web.app.transforms.AbstractAppTr ansform.transform(Unknown Source)\n
    Action.c(76): \tat com.microstrategy.web.beans.AbstractTransformable. transform(Unknown Source)\n
    Action.c(76): \tat com.microstrategy.web.beans.AbstractTransformable. transform(Unknown Source)\n
    Action.c(76): \tat com.microstrategy.web.beans.AbstractResultSetBean. doTransform(Unknown Source)\n
    Action.c(76): \tat com.microstrategy.web.beans.AbstractResultSetBean. transform(Unknown Source)\n
    Action.c(76): \tat com.microstrategy.web.beans.AbstractWebBean.genera teOutput(Unknown Source)\n
    Action.c(76): \tat com.microstrategy.web.controller.ControllerHelper. handleBinaryPage(Unknown Source)\n
    Action.c(76): \tat com.microstrategy.web.app.MSTRWebController.proces sRequest(Unknown Source)\n
    Action.c(76): \tat com.microstrategy.web.servlets.MainServlet.doGet(U nknown Source)\n
    Action.c(76): \tat com.microstrategy.web.servlets.MainServlet.doPost( Unknown Source)\n
    Action.c(76): \tat javax.servlet.http.HttpServlet.service(HttpServlet .java:763)\n
    Action.c(76): \tat javax.servlet.http.HttpServlet.service(HttpServlet .java:856)\n
    Action.c(76): \tat com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:989)\n
    Action.c(76): \tat com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:930)\n
    Action.c(76): \tat com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:118)
    Action.c(76): \n
    Action.c(76): \tat com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java:87)
    Action.c(76): \n
    Action.c(76): \tat com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:
    Action.c(76): 761)\n
    Action.c(76): \tat com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:
    Action.c(76): 673)\n
    Action.c(76): \tat com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:498)
    Action.c(76): \n
    Action.c(76): \tat com.ibm.ws.wswebcontainer.servlet.ServletWrapper.h andleRequest(ServletWrapper.java:46
    Action.c(76): 4)\n
    Action.c(76): \tat com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3276)\n
    Action.c(76): \tat com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:267)\n
    Action.c(76): \tat com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:811)\n
    Action.c(76): \tat com.ibm.ws.wswebcontainer.WebContainer.handleReque st(WebContainer.java:1455)\n
    Action.c(76): \tat com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:113)\n
    Action.c(76): \tat com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInbound
    Action.c(76): Link.java:454)\n
    Action.c(76): \tat com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInbound
    Action.c(76): Link.java:383)\n
    Action.c(76): \tat com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback
    Action.c(76): .java:102)\n
    Action.c(76): \tat com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompleti
    Action.c(76): onListener.java:165)\n
    Action.c(76): \tat com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:217)\n
    Action.c(76): \tat com.ibm.io.async.AsyncChannelFuture.fireCompletion Actions(AsyncChannelFuture.java:161
    Action.c(76): )\n
    Action.c(76): \tat com.ibm.io.async.AsyncFuture.completed(AsyncFuture .java:136)\n
    Action.c(76): \tat com.ibm.io.async.ResultHandler.complete(ResultHand ler.java:195)\n
    Action.c(76): \tat com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:743)\n
    Action.c(76): \tat com.ibm.io.async.ResultHandler$2.run(ResultHandler .java:873)\n
    Action.c(76): \tat com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1469)\n

  8. #8

    Re: Javascript issue - Loadrunner

    Can you post the request that is generating this error? I think there may be missing correlation. Please remove all references to company/site/address.


  9. #9

    Re: Javascript issue - Loadrunner

    t=66855ms: 822-byte request headers for "/export/20080530103448878" (RelFrameId=1, Internal ID=147)
    Action.c(79): POST /export/20080530103448878 HTTP/1.1\r\n
    Action.c(79): Content-Type: application/x-www-form-urlencoded\r\n
    Action.c(79): Cache-Control: no-cache\r\n
    Action.c(79): Referer: evt=5005&src=mstrWeb.rwdPFPDF_Export.50
    Action.c(79): 05&mstrWeb=-LENA083.Store+Performance+Dashboard.0_&rwdPFPD F_Export=*-1.*-
    Action.c(79): D33AE31DCDE5F15E200803AB1FF1B.*0.*-1.0.1-CEFC6C3A31DD2E5D7B970080696C9010.*0.1.4
    Action.c(79): .150995011.0.100.2000.2.0.0.Store+Daily+Summary_*0 .0&5005=1\r\n
    Action.c(79): User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .N
    Action.c(79): ET CLR 3.0.04506.30)\r\n
    Action.c(79): Accept-Encoding: gzip, deflate\r\n
    Action.c(79): Accept-Language: en-us\r\n
    Action.c(79): Accept: */*\r\n
    Action.c(79): Connection: Keep-Alive\r\n
    Action.c(79): Host: company site.com\r\n
    Action.c(79): Cookie: AUTH_SESSION_ID=SMS_gastg281_d00584::2f1b3e87d4701 e35373bc6880e7143ae; JSESSIONID=
    Action.c(79): 0000tkua32I9DiPWd5P1dDDHhJX:-1\r\n
    Action.c(79): Content-Length: 279\r\n
    Action.c(79): \r\n
    Action.c(79): t=66856ms: 279-byte request body for "http://company site/export/20080530103448878" (RelFrameId=1, Internal ID=147)
    Action.c(79): evt=5005&src=mstrWeb.rwdPFPDF_Export.5005& mstrWeb=-LENA083.Store%2BPerformance%2BDashboard
    Action.c(79): .0_&rwdPFPDF_Export=*-1.*- .*0.*-1.0.1-CEFC6C
    Action.c(79): 3A31DD2E5D7B970080696C9010.*
    Action.c(79): mary_*0.0

  10. #10

    Re: Javascript issue - Loadrunner

    Sorry, I meant copy the request from the script view not the replay. I think you may be missing correlation in your request.



Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 03:43 PM.

Copyright BetaSoft Inc.