Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8813187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:46:58+00:00 2026-06-14T03:46:58+00:00

I am trying to access a web page url from my behavioural test case.

  • 0

I am trying to access a web page url from my behavioural test case. The following piece of code is used for it:

@When("the user opens the sys admin login page of jset application")
public void openSysAdminLoginPage() throws Exception {
    htmlPage = webClient.getPage("http://localhost:8080/jset/login.jsp");

    assertEquals(200, htmlPage.getWebResponse().getStatusCode());
    assertEquals("OK", htmlPage.getWebResponse().getStatusMessage());
}

This when run after the application is deployed on to the server, throws the following exception:

When the user opens the sys admin login page of jset application
10 Nov 2012 11:45:04,636 [main]ERROR com.gargoylesoftware.htmlunit.html.HtmlPage 
Malformed refresh string (found ';' but no 'url='): 3600;

I am able to access the page from the browser though. Have been stuck up with this for a while. Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T03:47:00+00:00Added an answer on June 14, 2026 at 3:47 am

    Solved it by commenting the following in my header jsp file:

    META HTTP-EQUIV=”Refresh” CONTENT=”3600″

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to access an HTTPS based web service URL from a web/ear application
I'm trying to create a simple web bot which will access a certain page,
I'm tring to authenticate user to have access to page from extJS. I saw
When I access http://www.my_url.com/index.jsp I get the updated web page, but when I'm trying
I'm trying to access a web server and get all of the files in
I'm trying to access a web service using a secure client. I generated two
I am trying to access a restful web service using jQuery Ajax but getting
Trying to figure out how to programmatically access the web pages in the application.
I am trying to access our site's Web usage statistics through Google Analytics API.
When trying to access my site: www.X.com The browser changes the url to: www.X.com/

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.