Hi Mr. Stephane,
After running my script, log returned several requested resources with 404 response status.
I am using Gatling 2.1.7 and enabled Follow Redirects. I think what is expected is that 3XX status should be returned when requests are redirected.
I am confused over the 404 status while resources are actually accessible or "can be found". Can this be a problem in the connection, the redirection process, or the application itself?
>>>>>>>>>>>>>>>>>>>>>>>>>>
Request:
request_165 Redirect 1: KO
status.find.in(200,304,201,202,203,204,205,206,207,208,209), but actually found 404
=========================
Session:
Session(SCRIPT1PrimaryStudentWorkflow2,233938688883115974-0,Map(gatling.http.cache.redirects -> io.gatling.core.util.cache.Cache@9495df, gatling.http.cache.expireCache -> io.gatling.core.util.cache.Cache@132c77f, gatling.http.cache.lastModifiedCache -> io.gatling.core.util.cache.Cache@aefc85, gatlin
refghYA%2521YnhapuGvzr%257C1447063822%2521ErqverpgHey%257Cabbc%2521FRFFVQ%257C38w0u5z6aq09voab99g9rr8s24%2521GranagVq%257C1®istration=PynffVq%257C0%2521PbhefrVq%257C61500%2521VafgnaprVq%257C0%2521FpbezVq%257C8799%2521FhoqbznvaVq%257C6%2521HfreVq%257C747847, gatling.http.cache.etagCache -> io.gatl
ing.core.util.cache.Cache@917148, gatling.http.cookies -> CookieJar(Map(CookieKey(appsvrid,
myserver.org,/) -> StoredCookie(APPSVRID=CLMS.App.54.10.122.96.214; path=/,true,false,1447213683652), CookieKey(jsessionid,
myserver.org,/cas) -> StoredCookie(JSESSIONID=C5A899941E952372AFA3FF42
6463BFBF; path=/cas; HTTPOnly,true,false,1447213698930), CookieKey(sessa8892e87c00658dfb8c0c54e6e7bfc7f,
cambridgelms.org,/) -> StoredCookie(SESSa8892e87c00658dfb8c0c54e6e7bfc7f=d25cidq2plvtor8d9e4opd9kc6; domain=.
cambridgelms.org; path=/; HTTPOnly,false,false,1447213705811), CookieKey(org.springfram
ework.web.servlet.i18n.cookielocaleresolver.locale,
myserver.org,/) -> StoredCookie(org.springframework.web.servlet.i18n.CookieLocaleResolver.LOCALE=en; path=/; HTTPOnly,true,false,1447214007768)))),1447213681924,24,KO,List(GroupBlock(List(ACTION 5: VIEW CONTENT),1447213945646,52214,63,0)),<f
unction1>)
=========================
HTTP request:
headers=
521YnhapuGvzr%257C1447063822%2521ErqverpgHey%257Cabbc%2521FRFFVQ%257C38w0u5z6aq09voab99g9rr8s24%2521GranagVq%257C1®istration=PynffVq%257C0%2521PbhefrVq%257C61500%2521VafgnaprVq%257C0%2521FpbezVq%257C8799%2521FhoqbznvaVq%257C6%2521HfreVq%257C747847
Cookie: APPSVRID=CLMS.App.54.10.122.96.214; SESSa8892e87c00658dfb8c0c54e6e7bfc7f=d25cidq2plvtor8d9e4opd9kc6; org.springframework.web.servlet.i18n.CookieLocaleResolver.LOCALE=en
Connection: keep-alive
Accept: */*
=========================
HTTP response:
status=
404 Not Found
headers=
Date: [Wed, 11 Nov 2015 03:53:47 GMT]
Server: [Apache]
Vary: [Accept-Encoding]
Content-Length: [299]
Connection: [close]
Content-Type: [text/html; charset=iso-8859-1]
body=
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /error/scorm_packs/kb_010107_j05_3_lea_1398670479_04_28_2014/resources/activities/kb_010107_j05_01.jpg was not found on this server.</p>
</body></html>
<<<<<<<<<<<<<<<<<<<<<<<<<