Jenkins' HTTP Request plugin does not wait until web page is loaded

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

Jenkins' HTTP Request plugin does not wait until web page is loaded

Nilesh Tembhre
Hi all,
I am using the 'HTTP Request' plugin available in Jenkins. I have to do a GET request using this plugin. But the web page, I want to GET, takes a few seconds to load the page.
But, Jenkins completes the job and shows the 'loading' information in response.

Could someone please tell me how I can tell Jenkins to wait for a few seconds and then read the page and return the actual content of the web page?

Thanks in advance.

Regards,
Nilesh

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c41d24f7-49b7-4e1a-bb6f-9a45b517bc72n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins' HTTP Request plugin does not wait until web page is loaded

Björn Pedersen
Are you sure your GET request targets the right endpoint? If you get a loading mesage, this is a strong hint that there is ajax loading involved, which  the http requets plugin would not handle. 

Either find out the ajax endpoint you are  interessted in, or switch to e.g. using selenium in this case.

[hidden email] schrieb am Mittwoch, 2. Dezember 2020 um 18:23:58 UTC+1:
Hi all,
I am using the 'HTTP Request' plugin available in Jenkins. I have to do a GET request using this plugin. But the web page, I want to GET, takes a few seconds to load the page.
But, Jenkins completes the job and shows the 'loading' information in response.

Could someone please tell me how I can tell Jenkins to wait for a few seconds and then read the page and return the actual content of the web page?

Thanks in advance.

Regards,
Nilesh

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9d39b7d0-33e6-4160-8a85-2d2c9b41aba3n%40googlegroups.com.