DevOps Automation

 View Only
Expand all | Collapse all

Unable to develop a test scripts on Mozilla Firefox V78

  • 1.  Unable to develop a test scripts on Mozilla Firefox V78

    Posted Tue March 23, 2021 03:30 PM

    Hello ,

    I'm unable to develop the performance test script on the Firefox version 78 since it was upgraded from V68 (I was able to capture packets in this Version 68). Any help is appreciated ?

    Issue : Proxy recorder is stopped


    #RationalPerformanceTester
    #Support
    #SupportMigration


  • 2.  RE: Unable to develop a test scripts on Mozilla Firefox V78

    Posted Tue March 23, 2021 03:38 PM

    I have observed the below in error log :

    RPTS1000E Unable to start the agent communication service because of an error: RPT is unable to execute a schedule because one of the ports(7080) it uses to communicate with the agents has been taken by another RPT(or other server) process. Ensure only one RPT instance is running. RPT will not be able to execute schedules.


    #Support
    #SupportMigration
    #RationalPerformanceTester


  • 3.  RE: Unable to develop a test scripts on Mozilla Firefox V78

    Posted Tue March 23, 2021 03:44 PM

    I have also tried where the agent status is available. In that case, I'm only seeing below info

    a) Test generation started at Tue Mar 23 11:39:42 EDT 2021 -- input: sample2.recsession

    b) Test generation completed at Tue Mar 23 11:39:44 EDT 2021 -- output: sample2.testsuite

    i.e. it automatically stops (or) generates script without even prompting for recording.

    Any help is appreciated.

    Thanks,

    Sudheesh


    #RationalPerformanceTester
    #Support
    #SupportMigration


  • 4.  RE: Unable to develop a test scripts on Mozilla Firefox V78

    Posted Wed March 24, 2021 03:28 PM

    this means the port 7080 which is in defined in Windows -> Preferences -> Test -> Server in RPT was already being grabbed before RPT was started.

    RPT then tries to grab it (or listen) then can't, hence the error message.

    Two scenarios where this can happen:

    1. the RPT is on a Windows server and another user is running RPT and they're using port 7080
    2. the RPT Agent (majordomo service) is on the same machine and sometimes grabs the port erroneously

    If 1. Options are a) kick the other user off or better yet use a different port like 7082, using a different port means you'll have to configure the agents to use that port by editting it's majordomo.config file

    For 2, find out who's listening on port 7080 when RPT is not running, from Windows:

    D:\Program Files\IBM\SDP\cmdline>netstat -aon | find /I "7080"

    TCP 0.0.0.0:7080 0.0.0.0:0 LISTENING 4920

    TCP 10.134.57.226:7080 10.x.x.x:18240 ESTABLISHED 4920

    TCP 10.134.57.226:7080 10.x.x.x:18250 ESTABLISHED 4920

    So the process with PID 4920 is listening to port 7080. Bring up task manager and if the process is for majordomo service, simply restart the majordomo service, if it's another process then terminate it and restart RPT


    #SupportMigration
    #Support
    #RationalPerformanceTester


  • 5.  RE: Unable to develop a test scripts on Mozilla Firefox V78

    Posted Wed March 24, 2021 03:33 PM

    this question appears to be 3 questions instead of one so this thread will be hard to follow, but for

    Hello ,

    I'm unable to develop the performance test script on the Firefox version 78 since it was upgraded from V68 (I was able to capture packets in this Version 68). Any help is appreciated ?

    Issue : Proxy recorder is stopped

    Need more details, does RPT launch FF ESR 78.8 then the proxy recorder stops, or does it launch FF, no packets captured, then when closing FF you see the "Proxy recorder is stopped' message?


    #SupportMigration
    #Support
    #RationalPerformanceTester


  • 6.  RE: Unable to develop a test scripts on Mozilla Firefox V78

    Posted Wed March 24, 2021 03:54 PM

    Hello Paul,


    Apologies for the confusion !


    (Paul) Need more details, does RPT launch FF ESR 78.8 then the proxy recorder stops, or does it launch FF, no packets captured, then when closing FF you see the "Proxy recorder is stopped' message?


    (Sudheesh) It does Launch the FF then the proxy recorder stops.


    #RationalPerformanceTester
    #Support
    #SupportMigration


  • 7.  RE: Unable to develop a test scripts on Mozilla Firefox V78

    Posted Wed March 24, 2021 06:58 PM

    The proxy recorder stops when it detects that the browser it started has exited or this is the way it's supposed to work.


    what version of RPT is this?


    Does RPT work fine with IE or Chrome?


    Is Firefox still running when the proxy recorder stops?


    If so there's a RPT issue, if not then FF itself is dying for some reason. We try to change the profile for Firefox before launching so we can configure it to use the RPT Recording Proxy then launch Firefox, then when the user closes the browser we undo the change.


    There's an option at recording time to use a temporary profile, see if this works.


    If not, then I think it's time to open a support ticket and then we can dive into the issue more deeply.


    Thank you




    #SupportMigration
    #Support
    #RationalPerformanceTester


  • 8.  RE: Unable to develop a test scripts on Mozilla Firefox V78

    Posted Wed March 24, 2021 07:24 PM

    Hello Paul,


    Please see below for my replies,


    what version of RPT is this?


    (Sudheesh): I'm using 8.7 . I also work on Latest 10.0.2 version and observed a different issue (domain not selected - not sure what does that mean)


    Does RPT work fine with IE or Chrome?


    (Sudheesh): Due to security policy of the organization, I couldn't use IE (or) Firefox. So, wasn't able to test it out.


    Is Firefox still running when the proxy recorder stops?


    (Sudheesh): Yes ! I could see the HTTP Recorder page opened on Firefox.


    If so there's a RPT issue, if not then FF itself is dying for some reason. We try to change the profile for Firefox before launching so we can configure it to use the RPT Recording Proxy then launch Firefox, then when the user closes the browser we undo the change.


    There's an option at recording time to use a temporary profile, see if this works.


    (Sudheesh): I have tried changing the temporary profile Firefox , but no luck. I'll try again with a different profile to find my luck and will keep you posted on this.


    However, I'm working using "unmanaged application" and Launching the Firefox Manually. It's helping me out to get going with my script development. But, not sure why RPT doesn't work with the other way.


    If not, then I think it's time to open a support ticket and then we can dive into the issue more deeply.


    Thanks for providing your valuable time and feedback !


    Regards,


    Sudheesh Srikantam


    #Support
    #RationalPerformanceTester
    #SupportMigration


  • 9.  RE: Unable to develop a test scripts on Mozilla Firefox V78

    Posted Thu March 25, 2021 12:09 PM

    8.7 is out of support, been so for a few years now. We won't accept tickets on it.


    Refer to https://www.ibm.com/support/lifecycle/search?q=performance%20tester


    Upgrade to a supported version I recommended 10.1.3 which was just released yesterday



    #RationalPerformanceTester
    #Support
    #SupportMigration


  • 10.  RE: Unable to develop a test scripts on Mozilla Firefox V78

    Posted Thu March 25, 2021 12:17 PM

    domain selection is web sites you don't want on the test. When recording with IE even firefox we get junk traffic. The domain selection allows you to not generate traffic for those sites (domains).


    A trick on how to know which domains are junk is to do a recording and do nothing. Let the packets go up, then close the browser. The websites (domains) captured in this test are junk ones.


    Example: some of the options under Security for Firefox like Data Collection, Block deceptive web sites, make HTTP calls to a site not related to the one you're recording. Filter that junk out


    Google analytics is another one that's useless for most tests.




    #SupportMigration
    #Support
    #RationalPerformanceTester


  • 11.  RE: Unable to develop a test scripts on Mozilla Firefox V78

    Posted Thu March 25, 2021 02:13 PM

    Hello Paul,


    Thanks for explaining it to me about Domain Selection and for your valuable time.


    I see the same Issue in RPT Version 10.0.2 like I saw in Version 8.7.2. Please see below events taken


    a) RPTTI0001 Test generation started at Thu Mar 25 09:39:38 EDT 2021 -- input: Sample2.recsession


    b) RPTTI0002 Test generation completed at Thu Mar 25 09:39:38 EDT 2021 -- output: Sample2.testsuite


    Windows 7

    Mozilla Firefox version : V78

    RPT Version : Version: 10.0.2


    Also, I don't see any Traffic in the domain selection that can be selected.


    Proxy recorder stops recording and the browser is still running after the stop. (just like the issue in the V 8.7)


    Thanks,


    Sudheesh S


    P.s: As you suggested, I'll check with my Organization if they can install the Latest version 10.1.3.




    #RationalPerformanceTester
    #Support
    #SupportMigration


  • 12.  RE: Unable to develop a test scripts on Mozilla Firefox V78

    Posted Thu March 25, 2021 02:33 PM

    hi, at this point please open a support ticket, no traffic would indicate the proxy wasn't able to be configured in Firefox. One of support engineers will assist you.

    Thank you


    #SupportMigration
    #Support
    #RationalPerformanceTester