java.lang.AssertionError: expected:George Jetson FF#abc123x Ticket #aa2123 Booking Information Booked on Hotel deals 6/11/2010 Reference #: 211233 http://www.hotels.com (555) 555-5555 Booking Rate: $17 Total Cost: $1422.12 Not Purchased> but was:George Jetson FF#abc123x Ticket #aa2123 Booking Information Booked on Hotel deals 6/11/2010 Reference #: 211233 http://www.hotels.com (555) 555-5555 Booking Rate: $17 Total Cost: $1422.12 Not Purchased>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Google Groups by Henrik Lynggaard, 2 years ago
expected:<true> but was:<false>
via nabble.com by Unknown author, 2 years ago
java.lang.AssertionError: expected:George Jetson FF#abc123x Ticket #aa2123 Booking Information Booked on Hotel deals 6/11/2010 Reference #: 211233 http://www.hotels.com (555) 555-5555 Booking Rate: $17 Total Cost: $1422.12 Not Purchased> but was:George Jetson FF#abc123x Ticket #aa2123 Booking Information Booked on Hotel deals 6/11/2010 Reference #: 211233 http://www.hotels.com (555) 555-5555 Booking Rate: $17 Total Cost: $1422.12 Not Purchased>
at org.testng.Assert.fail(Assert.java:89)

Users with the same issue

4 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 1 day ago
Once, 3 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.