The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Software Testing >> Automated Testing

Pages: 1
kqueen
Newbie


Reged: 06/05/08
Posts: 17
Test 500 error page
      #718584 - 10/23/12 04:22 AM

Hi All,

I am doing a regression script for website.I am testing that the website does not have 500 error pages.
How should I now create a 500 error page for the existing page for testing purpose.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Joe StrazzereModerator
Moderator


Reged: 05/15/00
Posts: 12344
Loc: Massachusetts, USA
Re: Test 500 error page [Re: kqueen]
      #718591 - 10/23/12 05:14 AM

We'd need to know which web server you are using.
And perhaps what programming language you wish to use.

--------------------
- Joe
Visit AllThingsQuality.com to learn more about quality, testing, and QA!

I speak only for me. I do not speak for my employer, nor for anyone else.


Post Extras: Print Post   Remind Me!   Notify Moderator  
kqueen
Newbie


Reged: 06/05/08
Posts: 17
Re: Test 500 error page [Re: Joe Strazzere]
      #718593 - 10/23/12 05:54 AM

Programming language is Java and using selenium web driver

Post Extras: Print Post   Remind Me!   Notify Moderator  
Joe StrazzereModerator
Moderator


Reged: 05/15/00
Posts: 12344
Loc: Massachusetts, USA
Re: Test 500 error page [Re: kqueen]
      #718599 - 10/23/12 06:46 AM

No, web server.

Apache?
IIS?
Something else?

Basically, I'm just going to search Google for "creating a 500 page on a xxx server". You just need to replace xxx with the server you are using.

Creating 500 pages is a development/configuration activity, not a testing activity.

--------------------
- Joe
Visit AllThingsQuality.com to learn more about quality, testing, and QA!

I speak only for me. I do not speak for my employer, nor for anyone else.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Corey_G
Veteran


Reged: 09/14/01
Posts: 4281
Loc: Boston, MA
Re: Test 500 error page [Re: Joe Strazzere]
      #718602 - 10/23/12 07:08 AM

what are you trying to test?

500 is an HTTP error code.

to see one: have your server code throw an unhandled exception, and then request that page via your browser.

--------------------
Corey Goldberg
Homepage: goldb.org
Twitter: twitter.com/cgoldberg
Google+: gplus.to/cgoldberg


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 7 anonymous users are browsing this forum.

Moderator:  Elfriede Dustin, AJ, Joe Strazzere 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 3084

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5