Query regarding config setup required to setup Single Page Web Application using AJAX and Javascript

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Query regarding config setup required to setup Single Page Web Application using AJAX and Javascript

Geeta Karkera
Hi


Our application is single page application (using AJAX calls) and most of the services are on JS.


I tried to setup one test to LOGIN to our portal using Sampler HTTP request with method as POST , USERNAME AND PASSWORD and URL as https://portal.blockcerts.com/login.aspx


This LOGIN.ASPX internally calls a webservice (using javascript) to progress LOGIN.


Test run is executed and I could see it has returned all resources referred in LOGIN.ASPX(such as CSS, JS  however Jmeter could not progress actual LOGIN.


Could you please help?


I am stuck as not able to understand what configuration is required to progress actual LOGIN?


Please let me know if you need any further information.


Regards

Geeta Karkera
Reply | Threaded
Open this post in threaded view
|

Re: Query regarding config setup required to setup Single Page Web Application using AJAX and Javascript

ra0077
Hi,

JMeter will not execute Javascript.

Use the JMeter HTTP recorder to capture all the call

Or add HTTP sampler to call webservice

Antonio

2018-01-05 11:30 GMT+01:00 Geeta Karkera <[hidden email]>:

> Hi
>
>
> Our application is single page application (using AJAX calls) and most of
> the services are on JS.
>
>
> I tried to setup one test to LOGIN to our portal using Sampler HTTP
> request with method as POST , USERNAME AND PASSWORD and URL as
> https://portal.blockcerts.com/login.aspx
>
>
> This LOGIN.ASPX internally calls a webservice (using javascript) to
> progress LOGIN.
>
>
> Test run is executed and I could see it has returned all resources
> referred in LOGIN.ASPX(such as CSS, JS  however Jmeter could not progress
> actual LOGIN.
>
>
> Could you please help?
>
>
> I am stuck as not able to understand what configuration is required to
> progress actual LOGIN?
>
>
> Please let me know if you need any further information.
>
>
> Regards
>
> Geeta Karkera
>
Reply | Threaded
Open this post in threaded view
|

RE: Query regarding config setup required to setup Single Page Web Application using AJAX and Javascript

Geeta Karkera
Hello Antonio
Thanks a lot for a quick reply.
Does anybody know any load testing tool which can be used to load test single page web application which involves services over JS and AJAX calls?

Your help is really appreciated .

Regards
Geeta
________________________________________
From: Antonio Gomes Rodrigues <[hidden email]>
Sent: Friday, January 5, 2018 6:52 PM
To: JMeter Users List
Cc: Geeta Karkera
Subject: Re: Query regarding config setup required to setup Single Page Web Application using AJAX and Javascript

Hi,

JMeter will not execute Javascript.

Use the JMeter HTTP recorder to capture all the call

Or add HTTP sampler to call webservice

Antonio

2018-01-05 11:30 GMT+01:00 Geeta Karkera <[hidden email]>:

> Hi
>
>
> Our application is single page application (using AJAX calls) and most of
> the services are on JS.
>
>
> I tried to setup one test to LOGIN to our portal using Sampler HTTP
> request with method as POST , USERNAME AND PASSWORD and URL as
> https://portal.blockcerts.com/login.aspx
>
>
> This LOGIN.ASPX internally calls a webservice (using javascript) to
> progress LOGIN.
>
>
> Test run is executed and I could see it has returned all resources
> referred in LOGIN.ASPX(such as CSS, JS  however Jmeter could not progress
> actual LOGIN.
>
>
> Could you please help?
>
>
> I am stuck as not able to understand what configuration is required to
> progress actual LOGIN?
>
>
> Please let me know if you need any further information.
>
>
> Regards
>
> Geeta Karkera
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Query regarding config setup required to setup Single Page Web Application using AJAX and Javascript

Bob Nance
I have talked to Keynote in the past about this. They have a live web browser in their testing that can be scripted and records performance information. They have recently changed their name or were purchased and their website is https://www.dynatrace.com.

This is not a free service, however.


-Bob

On 1/5/18, 10:47 AM, "Geeta Karkera" <[hidden email]> wrote:

    Hello Antonio
    Thanks a lot for a quick reply.
    Does anybody know any load testing tool which can be used to load test single page web application which involves services over JS and AJAX calls?
   
    Your help is really appreciated .
   
    Regards
    Geeta
    ________________________________________
    From: Antonio Gomes Rodrigues <[hidden email]>
    Sent: Friday, January 5, 2018 6:52 PM
    To: JMeter Users List
    Cc: Geeta Karkera
    Subject: Re: Query regarding config setup required to setup Single Page Web Application using AJAX and Javascript
   
    Hi,
   
    JMeter will not execute Javascript.
   
    Use the JMeter HTTP recorder to capture all the call
   
    Or add HTTP sampler to call webservice
   
    Antonio
   
    2018-01-05 11:30 GMT+01:00 Geeta Karkera <[hidden email]>:
   
    > Hi
    >
    >
    > Our application is single page application (using AJAX calls) and most of
    > the services are on JS.
    >
    >
    > I tried to setup one test to LOGIN to our portal using Sampler HTTP
    > request with method as POST , USERNAME AND PASSWORD and URL as
    > https://portal.blockcerts.com/login.aspx
    >
    >
    > This LOGIN.ASPX internally calls a webservice (using javascript) to
    > progress LOGIN.
    >
    >
    > Test run is executed and I could see it has returned all resources
    > referred in LOGIN.ASPX(such as CSS, JS  however Jmeter could not progress
    > actual LOGIN.
    >
    >
    > Could you please help?
    >
    >
    > I am stuck as not able to understand what configuration is required to
    > progress actual LOGIN?
    >
    >
    > Please let me know if you need any further information.
    >
    >
    > Regards
    >
    > Geeta Karkera
    >
   
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [hidden email]
    For additional commands, e-mail: [hidden email]
   
   

smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Query regarding config setup required to setup Single Page Web Application using AJAX and Javascript

Geeta Karkera
Hello Bob
Thanks a lot for your kind reply and I will for sure check DYNATRACE.

However does anybody know any open source tool available which provides simialar functionality.
That would really help.

Regards
Geeta


________________________________________
From: Bob Nance <[hidden email]>
Sent: Friday, January 5, 2018 10:27 PM
To: JMeter Users List
Cc: Geeta Karkera
Subject: Re: Query regarding config setup required to setup Single Page Web Application using AJAX and Javascript

I have talked to Keynote in the past about this. They have a live web browser in their testing that can be scripted and records performance information. They have recently changed their name or were purchased and their website is https://www.dynatrace.com.

This is not a free service, however.


-Bob

On 1/5/18, 10:47 AM, "Geeta Karkera" <[hidden email]> wrote:

    Hello Antonio
    Thanks a lot for a quick reply.
    Does anybody know any load testing tool which can be used to load test single page web application which involves services over JS and AJAX calls?

    Your help is really appreciated .

    Regards
    Geeta
    ________________________________________
    From: Antonio Gomes Rodrigues <[hidden email]>
    Sent: Friday, January 5, 2018 6:52 PM
    To: JMeter Users List
    Cc: Geeta Karkera
    Subject: Re: Query regarding config setup required to setup Single Page Web Application using AJAX and Javascript

    Hi,

    JMeter will not execute Javascript.

    Use the JMeter HTTP recorder to capture all the call

    Or add HTTP sampler to call webservice

    Antonio

    2018-01-05 11:30 GMT+01:00 Geeta Karkera <[hidden email]>:

    > Hi
    >
    >
    > Our application is single page application (using AJAX calls) and most of
    > the services are on JS.
    >
    >
    > I tried to setup one test to LOGIN to our portal using Sampler HTTP
    > request with method as POST , USERNAME AND PASSWORD and URL as
    > https://portal.blockcerts.com/login.aspx
    >
    >
    > This LOGIN.ASPX internally calls a webservice (using javascript) to
    > progress LOGIN.
    >
    >
    > Test run is executed and I could see it has returned all resources
    > referred in LOGIN.ASPX(such as CSS, JS  however Jmeter could not progress
    > actual LOGIN.
    >
    >
    > Could you please help?
    >
    >
    > I am stuck as not able to understand what configuration is required to
    > progress actual LOGIN?
    >
    >
    > Please let me know if you need any further information.
    >
    >
    > Regards
    >
    > Geeta Karkera
    >

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [hidden email]
    For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Query regarding config setup required to setup Single Page Web Application using AJAX and Javascript

ra0077
Hi,

Use Apache JMeter HTTP(S) Test Script Recorder
See http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.html

Or if you want use a real browser, use JMeter plugins (
https://jmeter-plugins.org/wiki/WebDriverSampler/)

Antonio



2018-01-08 6:13 GMT+01:00 Geeta Karkera <[hidden email]>:

> Hello Bob
> Thanks a lot for your kind reply and I will for sure check DYNATRACE.
>
> However does anybody know any open source tool available which provides
> simialar functionality.
> That would really help.
>
> Regards
> Geeta
>
>
> ________________________________________
> From: Bob Nance <[hidden email]>
> Sent: Friday, January 5, 2018 10:27 PM
> To: JMeter Users List
> Cc: Geeta Karkera
> Subject: Re: Query regarding config setup required to setup Single Page
> Web Application using AJAX and Javascript
>
> I have talked to Keynote in the past about this. They have a live web
> browser in their testing that can be scripted and records performance
> information. They have recently changed their name or were purchased and
> their website is https://www.dynatrace.com.
>
> This is not a free service, however.
>
>
> -Bob
>
> On 1/5/18, 10:47 AM, "Geeta Karkera" <[hidden email]> wrote:
>
>     Hello Antonio
>     Thanks a lot for a quick reply.
>     Does anybody know any load testing tool which can be used to load test
> single page web application which involves services over JS and AJAX calls?
>
>     Your help is really appreciated .
>
>     Regards
>     Geeta
>     ________________________________________
>     From: Antonio Gomes Rodrigues <[hidden email]>
>     Sent: Friday, January 5, 2018 6:52 PM
>     To: JMeter Users List
>     Cc: Geeta Karkera
>     Subject: Re: Query regarding config setup required to setup Single
> Page Web Application using AJAX and Javascript
>
>     Hi,
>
>     JMeter will not execute Javascript.
>
>     Use the JMeter HTTP recorder to capture all the call
>
>     Or add HTTP sampler to call webservice
>
>     Antonio
>
>     2018-01-05 11:30 GMT+01:00 Geeta Karkera <[hidden email]>:
>
>     > Hi
>     >
>     >
>     > Our application is single page application (using AJAX calls) and
> most of
>     > the services are on JS.
>     >
>     >
>     > I tried to setup one test to LOGIN to our portal using Sampler HTTP
>     > request with method as POST , USERNAME AND PASSWORD and URL as
>     > https://portal.blockcerts.com/login.aspx
>     >
>     >
>     > This LOGIN.ASPX internally calls a webservice (using javascript) to
>     > progress LOGIN.
>     >
>     >
>     > Test run is executed and I could see it has returned all resources
>     > referred in LOGIN.ASPX(such as CSS, JS  however Jmeter could not
> progress
>     > actual LOGIN.
>     >
>     >
>     > Could you please help?
>     >
>     >
>     > I am stuck as not able to understand what configuration is required
> to
>     > progress actual LOGIN?
>     >
>     >
>     > Please let me know if you need any further information.
>     >
>     >
>     > Regards
>     >
>     > Geeta Karkera
>     >
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: [hidden email]
>     For additional commands, e-mail: [hidden email]
>
>
>