Description LocalServerTest
Tests: 2
Skipped: 0
Failures: 1
Errors: 1
Timestamp: 2025-11-26T21:41:41
Execution time: 3.321
Cases
query() ❌
Classname: LocalServerTest
Execution time: 0.959
Error type: java.lang.AssertionError
Message:
java .lang .AssertionError : /query response wasn 't successful.
HTTP /1.1 500 Server Error
Server : Jetty (12.0 .16 )
Date : Wed , 26 Nov 2025 21 :41 :41 GMT
Cache -Control : must -revalidate ,no -cache ,no -store
Content -Type : text /html ;charset =iso -8859 -1
Content -Length : 582
<html >
<head >
<meta http -equiv ="Content-Type" content ="text/html;charset=ISO-8859-1" />
<title >Error 500 java .lang .IllegalStateException : Can &apos ;t find search key </title >
</head >
<body >
<h2 >HTTP ERROR 500 java .lang .IllegalStateException : Can &apos ;t find search key </h2 >
<table >
<tr ><th >URI :</th ><td >http ://localhost:8080/v1/query?title=Edna</td></tr>
<tr ><th >STATUS :</th ><td >500 </td ></tr >
<tr ><th >MESSAGE :</th ><td >java .lang .IllegalStateException : Can &apos ;t find search key </td ></tr >
</table >
<hr /><a href ="https://jetty.org/" >Powered by Jetty :// 12.0.16</a><hr/>
</body >
</html >
overview() ✅
Classname: LocalServerTest
Execution time: 2.36
Outputs
STDOUT
STDERR
[Test worker ] INFO org .eclipse .jetty .server .Server - jetty -12.0 .16 ; built : 2024 -12 -0 9 T21 :02 :54.535 Z ; git : c3f88bafb4e393f23204dc14dc57b042e84debc7 ; jvm 23.0 .2 +7
[Test worker ] INFO org .eclipse .jetty .server .AbstractConnector - Started ServerConnector @ 754777 cd {HTTP /1.1 , (http /1.1 )}{0.0 .0.0 :8080 }
[Test worker ] INFO org .eclipse .jetty .server .Server - Started oejs .Server @ 29 a60c27 {STARTING }[12.0 .16 ,sto =5000 ] @ 945 ms
[qtp2000469839 -31 @ coroutine #2 ] INFO io .github .darefox .hltbproxy .scraping .HLTB - Updating key ...
[qtp2000469839 -31 @ coroutine #2 ] INFO io .github .darefox .hltbproxy .scraping .HLTB - Downloading script : https ://cdn.ziffstatic.com/pg/howlongtobeat.js
[qtp2000469839 -31 @ coroutine #2 ] ERROR io .github .darefox .hltbproxy .scraping .HLTB - On downloading script (https ://cdn.ziffstatic.com/pg/howlongtobeat.js), server returned 400 Bad Request
[qtp2000469839 -31 @ coroutine #2 ] INFO io .github .darefox .hltbproxy .scraping .HLTB - Downloading script : https ://cdn.ziffstatic.com/jst/zdconsent.js
[qtp2000469839 -31 @ coroutine #2 ] ERROR io .github .darefox .hltbproxy .scraping .HLTB - On downloading script (https ://cdn.ziffstatic.com/jst/zdconsent.js), server returned 400 Bad Request
[qtp2000469839 -31 @ coroutine #2 ] INFO io .github .darefox .hltbproxy .scraping .HLTB - Downloading script : https ://howlongtobeat.com/_next/static/chunks/polyfills-42372ed130431b0a.js
[qtp2000469839 -31 @ coroutine #2 ] INFO io .github .darefox .hltbproxy .scraping .HLTB - Downloading script : https ://howlongtobeat.com/_next/static/chunks/webpack-04f42519d800bea8.js
[qtp2000469839 -31 @ coroutine #2 ] INFO io .github .darefox .hltbproxy .scraping .HLTB - Downloading script : https ://howlongtobeat.com/_next/static/chunks/framework-c85341a997bf2e4b.js
[qtp2000469839 -31 @ coroutine #2 ] INFO io .github .darefox .hltbproxy .scraping .HLTB - Downloading script : https ://howlongtobeat.com/_next/static/chunks/main-39f2d65f269065aa.js
[qtp2000469839 -31 @ coroutine #2 ] INFO io .github .darefox .hltbproxy .scraping .HLTB - Downloading script : https ://howlongtobeat.com/_next/static/chunks/pages/_app-896f4d7ce516c9cb.js
[qtp2000469839 -31 @ coroutine #2 ] INFO io .github .darefox .hltbproxy .scraping .HLTB - Downloading script : https ://howlongtobeat.com/_next/static/chunks/pages/index-5d5a6259e5eadb4f.js
[qtp2000469839 -31 @ coroutine #2 ] INFO io .github .darefox .hltbproxy .scraping .HLTB - Downloading script : https ://howlongtobeat.com/_next/static/OVSNTV3Yur_cZSxBIC2Mm/_buildManifest.js
[qtp2000469839 -31 @ coroutine #2 ] INFO io .github .darefox .hltbproxy .scraping .HLTB - Downloading script : https ://howlongtobeat.com/_next/static/OVSNTV3Yur_cZSxBIC2Mm/_ssgManifest.js
[qtp2000469839 -31 ] WARN org .eclipse .jetty .server .Response - writeError : status =500 , message =java .lang .IllegalStateException : Can 't find search key, response=ErrorResponse@1660363f{500,GET@139ccb0d http://localhost:8080/v1/query?title=Edna HTTP/1.1}
java .lang .IllegalStateException : Can 't find search key
at io .github .darefox .hltbproxy .scraping .HLTB .findKeyInScripts (HLTB .kt :168 )
at io .github .darefox .hltbproxy .scraping .HLTB .updateSearchKey (HLTB .kt :115 )
at io .github .darefox .hltbproxy .scraping .HLTB .getSearchKey (HLTB .kt :80 )
at io .github .darefox .hltbproxy .scraping .HLTB .queryGames (HLTB .kt :35 )
at io .github .darefox .hltbproxy .proxy .QueryGamesKt$queryGames$1$1$body$1 .invokeSuspend (QueryGames .kt :20 )
at kotlin .coroutines .jvm .internal .BaseContinuationImpl .resumeWith (ContinuationImpl .kt :33 )
at kotlinx .coroutines .DispatchedTask .run (DispatchedTask .kt :101 )
at kotlinx .coroutines .EventLoopImplBase .processNextEvent (EventLoop .common .kt :263 )
at kotlinx .coroutines .BlockingCoroutine .joinBlocking (Builders .kt :95 )
at kotlinx .coroutines .BuildersKt__BuildersKt .runBlocking (Builders .kt :69 )
at kotlinx .coroutines .BuildersKt .runBlocking (Unknown Source )
at kotlinx .coroutines .BuildersKt__BuildersKt .runBlocking$default (Builders .kt :47 )
at kotlinx .coroutines .BuildersKt .runBlocking$default (Unknown Source )
at io .github .darefox .hltbproxy .proxy .QueryGamesKt .queryGames$lambda$2$lambda$1 (QueryGames .kt :20 )
at io .github .darefox .hltbproxy .cache .CacheOrDefaultKt .getOrGenerateBlocking$lambda$1 (CacheOrDefault .kt :15 )
at io .github .darefox .hltbproxy .mutex .BlockingMutexKt$withLockBlocking$1 .invokeSuspend (BlockingMutex .kt :19 )
at kotlin .coroutines .jvm .internal .BaseContinuationImpl .resumeWith (ContinuationImpl .kt :33 )
at kotlinx .coroutines .DispatchedTask .run (DispatchedTask .kt :101 )
at kotlinx .coroutines .EventLoopImplBase .processNextEvent (EventLoop .common .kt :263 )
at kotlinx .coroutines .BlockingCoroutine .joinBlocking (Builders .kt :95 )
at kotlinx .coroutines .BuildersKt__BuildersKt .runBlocking (Builders .kt :69 )
at kotlinx .coroutines .BuildersKt .runBlocking (Unknown Source )
at kotlinx .coroutines .BuildersKt__BuildersKt .runBlocking$default (Builders .kt :47 )
at kotlinx .coroutines .BuildersKt .runBlocking$default (Unknown Source )
at io .github .darefox .hltbproxy .mutex .BlockingMutexKt .withLockBlocking (BlockingMutex .kt :8 )
at io .github .darefox .hltbproxy .cache .CacheOrDefaultKt .getOrGenerateBlocking (CacheOrDefault .kt :13 )
at io .github .darefox .hltbproxy .proxy .QueryGamesKt .queryGames$lambda$2 (QueryGames .kt :19 )
at io .github .darefox .hltbproxy .proxy .CORSKt .corsAll$lambda$1$lambda$0 (CORS .kt :7 )
at org .http4k .routing .TemplateRouter .match$lambda$0 (Router .kt :188 )
at org .http4k .routing .RouterMatch$MatchingHandler .invoke (Router .kt :65 )
at org .http4k .routing .RouterMatch$MatchingHandler .invoke (Router .kt :60 )
at org .http4k .routing .RouterBasedHttpHandler .invoke (RouterBasedHttpHandler .kt :19 )
at org .http4k .routing .RouterBasedHttpHandler .invoke (RouterBasedHttpHandler .kt :13 )
at org .http4k .server .Http4kJettyHttpHandler .handle (Http4kJettyHttpHandler .kt :21 )
at org .eclipse .jetty .server .Handler$Wrapper .handle (Handler .java :740 )
at org .eclipse .jetty .server .handler .EventsHandler .handle (EventsHandler .java :81 )
at org .eclipse .jetty .server .Handler$Wrapper .handle (Handler .java :740 )
at org .eclipse .jetty .server .Handler$Sequence .handle (Handler .java :805 )
at org .eclipse .jetty .server .Server .handle (Server .java :182 )
at org .eclipse .jetty .server .internal .HttpChannelState$HandlerInvoker .run (HttpChannelState .java :662 )
at org .eclipse .jetty .server .internal .HttpConnection .onFillable (HttpConnection .java :418 )
at org .eclipse .jetty .io .AbstractConnection$ReadCallback .succeeded (AbstractConnection .java :322 )
at org .eclipse .jetty .io .FillInterest .fillable (FillInterest .java :99 )
at org .eclipse .jetty .io .SelectableChannelEndPoint$1 .run (SelectableChannelEndPoint .java :53 )
at org .eclipse .jetty .util .thread .QueuedThreadPool .runJob (QueuedThreadPool .java :979 )
at org .eclipse .jetty .util .thread .QueuedThreadPool$Runner .doRunJob (QueuedThreadPool .java :1209 )
at org .eclipse .jetty .util .thread .QueuedThreadPool$Runner .run (QueuedThreadPool .java :1164 )
at java .base /java .lang .Thread .run (Thread .java :1575 )
[Test worker ] INFO org .eclipse .jetty .server .Server - Stopped oejs .Server @ 29 a60c27 {STOPPING }[12.0 .16 ,sto =5000 ]
[Test worker ] INFO org .eclipse .jetty .server .Server - Shutdown oejs .Server @ 29 a60c27 {STOPPING }[12.0 .16 ,sto =5000 ]
[Test worker ] INFO org .eclipse .jetty .server .AbstractConnector - Stopped ServerConnector @ 754777 cd {HTTP /1.1 , (http /1.1 )}{0.0 .0 .0 :8080 }
[Test worker ] INFO org .eclipse .jetty .server .Server - jetty -12.0 .16 ; built : 2024 -12 -0 9 T21 :02 :54.535 Z ; git : c3f88bafb4e393f23204dc14dc57b042e84debc7 ; jvm 23.0 .2 +7
[Test worker ] INFO org .eclipse .jetty .server .AbstractConnector - Started ServerConnector @ 6f 6 a7463 {HTTP /1.1 , (http /1.1 )}{0.0 .0.0 :8080 }
[Test worker ] INFO org .eclipse .jetty .server .Server - Started oejs .Server @ 5 cbf9e9f {STARTING }[12.0 .16 ,sto =5000 ] @ 1735 ms
[Test worker ] INFO org .eclipse .jetty .server .Server - Stopped oejs .Server @ 5 cbf9e9f {STOPPING }[12.0 .16 ,sto =5000 ]
[Test worker ] INFO org .eclipse .jetty .server .Server - Shutdown oejs .Server @ 5 cbf9e9f {STOPPING }[12.0 .16 ,sto =5000 ]
[Test worker ] INFO org .eclipse .jetty .server .AbstractConnector - Stopped ServerConnector @ 6f 6 a7463 {HTTP /1.1 , (http /1.1 )}{0.0 .0.0 :8080 }
Reactions are currently unavailable
You can’t perform that action at this time.
LocalServerTest
Cases
query() ❌
java.lang.AssertionErroroverview() ✅
Outputs
STDOUT
STDERR