|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Feb 2003
Città: Formia
Messaggi: 1545
|
linux wget test su db
Ciao a tutti,
ho un web-application che fa una connesione al db volevo utilizzare il comando wget per simulare una connessione esempio parametri corretti wget http://192.168.0.1:8080/miawebb/logi...&password=test non riesco a capire se si logga oppure no parametri non corretti perche se faccio così wget http://192.168.0.1:8080/miawebb/logi...assword=test33 non noto nessuna differenza. |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Jun 2001
Città: Pordenone
Messaggi: 1216
|
Ma login.jps, dati username e password corretti, fa il redirect a un file?
|
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Feb 2003
Città: Formia
Messaggi: 1545
|
si
va ha home/index.jsp |
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Jun 2001
Città: Pordenone
Messaggi: 1216
|
E da browser funziona?
|
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Jun 2001
Città: Pordenone
Messaggi: 1216
|
Ora che ci penso... se usi apache2 vai sotto /var/log/apache2 e guardati access.log e error.log ...
|
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Feb 2003
Città: Formia
Messaggi: 1545
|
si broswer funziona
|
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: Feb 2003
Città: Formia
Messaggi: 1545
|
forse non ho i permessi per farlo
conosci qualche programma di benchmark semplice semplice |
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: Feb 2003
Città: Formia
Messaggi: 1545
|
error_log
Questo in caso l'accesso è errrato Tue Aug 9 15:26:58 2005] [error] [client 192.168.0.116] [ecid: 1123594018:127.0.0.1:4483:0:582,0] MOD_OC4J_0015: recv() returns 0. There has no message available to be received and oc4j has gracefully (orderly) closed the connection. [Tue Aug 9 15:26:58 2005] [error] [client 192.168.0.116] [ecid: 1123594018:127.0.0.1:4483:0:582,0] MOD_OC4J_0054: Failed to call network routine to receive an ajp13 message from oc4j. [Tue Aug 9 15:26:58 2005] [error] [client i192.168.0.116] [ecid: 1123594018:127.0.0.1:4483:0:582,0] MOD_OC4J_0033: Failed to receive an ajp13 message from oc4j. [Tue Aug 9 15:26:58 2005] [warn] [client 192.168.0.116] [ecid: 1123594018:127.0.0.1:4483:0:582,0] MOD_OC4J_0078: Network connection errors happened to host: oracle.cms and port: 3301 while receiving the first response from oc4j. This request is recoverable. idem se ce li passo corretti Tue Aug 9 15:28:48 2005] [error] [client 192.168.0.116] [ecid: 1123594128:127.0.0.1:3770:0:825,0] MOD_OC4J_0015: recv() returns 0. There has no message available to be received and oc4j has gracefully (orderly) closed the connection. [Tue Aug 9 15:28:48 2005] [error] [client 192.168.0.116] [ecid: 1123594128:127.0.0.1:3770:0:825,0] MOD_OC4J_0054: Failed to call network routine to receive an ajp13 message from oc4j. [Tue Aug 9 15:28:48 2005] [error] [client 192.168.0.116] [ecid: 1123594128:127.0.0.1:3770:0:825,0] MOD_OC4J_0033: Failed to receive an ajp13 message from oc4j. [Tue Aug 9 15:28:48 2005] [warn] [client 192.168.0.116] [ecid: 1123594128:127.0.0.1:3770:0:825,0] MOD_OC4J_0078: Network connection errors happened to host: oracle.cms and port: 3301 while receiving the first response from oc4j. This request is recoverable. |
![]() |
![]() |
![]() |
#9 |
Senior Member
Iscritto dal: Feb 2003
Città: Formia
Messaggi: 1545
|
access_log
192.168.0.116 - - [09/Aug/2005:15:28:48 +0200] "GET /miawebb/login.jsp?login=admin HTTP/1.0" 200 3676 |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 18:58.