[WebAudits] How to test Front-end performance bypassing user authentication of web?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[WebAudits] How to test Front-end performance bypassing user authentication of web?
As the title says
I want to test the other page (not homepage). But the website has user authentication.
How I can do it with WebAudits in TestComplete to bypass authentication?
Now even though I write the other page's url below, as login authentication the other page can't be displayed now.
Any other way to solve it in TestComplete?
WebAudits.For("10.241.36.101:3001/print-room/jobs ").Check();
Solved! Go to Solution.
- Labels:
-
Checkpoints
-
Chrome
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Possible solution depends on the authentication type used for the tested application.
In the simplest case of basic authentication you may try just http://<login>:<password>@10.241.36.101:3001/print-room/jobs.
In case of other authentication types that are based on the constant cookie/token, you may try to get some page by providing authentication data on the login page and get obtained cookie/token.
Maybe, this even could be done via plain http requests without the necessity to follow the login procedure via UI using TestComplete. Try to record the traffic and investigate it.
Then you may use some pass-through proxy (Fiddler, for example) and set it up so that it appends the obtained cookie/token to all requests sent to your test host (10.241.36.101:3001).
I am afraid that I don't have any good idea at the moment for the case of fully dynamic cookies/tokens that are new for every navigated page.
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great advice, Alex!
@ApplePen did you manage to bypass the authentication?
Sonya Mihaljova
Community and Education Specialist
