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 8643325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:00:29+00:00 2026-06-12T12:00:29+00:00

I wrote a acceptance test to in a Play! 2 Framework, my test is:

  • 0

I wrote a acceptance test to in a Play! 2 Framework, my test is:

    @Test
public void goToIndexPageAT() {
    running(testServer(3333, fakeApplication(inMemoryDatabase())), HTMLUNIT, new Callback<TestBrowser>()  {
        public void invoke(TestBrowser browser) {
            browser.goTo("http://localhost:3333/");
            assertThat(browser.url()).isEqualTo("http://localhost:3333/activities");
            assertThat(browser.$("#title").getTexts().get(0)).isEqualTo("FitTime");
        }

    });
}

But when I try run this test using the command play test I got a error:

Test acceptenceTest.ApplicationTest.goToIndexPageAT failed: Server is not started!
[error]     at scala.sys.package$.error(package.scala:27)
[error]     at play.api.test.TestServer.stop(Selenium.scala:116)
[error]     at play.test.Helpers.stop(Helpers.java:308)
[error]     at play.test.Helpers.running(Helpers.java:338)
[error]     at acceptenceTest.ApplicationTest.goToIndexPageAT(ApplicationTest.java:17)

What did I do wrong?

Thanks

  • 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-12T12:00:31+00:00Added an answer on June 12, 2026 at 12:00 pm

    I reproduced this error message by using port 3333 for another application and then starting the test.

    Maybe you have previously ran the test and it didn’t shutdown correctly.

    You can find it’s PID with
    netstat -onap |grep 3333 # I used it with Linux

    Example output:
    tcp6 0 0 :::3333 :::* LISTEN 13173/java aus (0.00/0/0)

    Kill the process:
    kill -9 13173

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

Sidebar

Related Questions

I wrote some script in a site. The script makes a new spreadsheet and
I wrote a Flickr search engine that makes a call to either a public
May someone please explain what exactly acceptance test for QuickFix have to do(test for)?
I'm starting to learn acceptance testing, and I want to test an ASP.NET MVC
I just lost 50% of my answer on a test because I wrote the
I want to play with an old code I wrote of a chess engine
Are there standard documents around to write Test Scenarios (or functional tests/ acceptance tests)?
Wrote a quick Java proggy to spawn 10 threads with each priority and calculate
I wrote a symfony task to fill a database of sample data. Here's a
I wrote a process explorer using C with GUI interface. I want to add

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.