sub process_summaryreport
{
printf "in process summary\n";
Avg_Time_Taken_Per_Transaction (@log_paths);
}
[/code]
The snippet of the logfile is--
Tue May 19 23:25:13.306 2009 Morocco Standard Time INFO: pid 2172 tid 3124: 160: 10086900: Entering QnAModule::authenticate
Tue May 19 23:25:13.306 2009 Morocco Standard Time INFO: pid 2172 tid 3124: 160: 10086900: QnA Session Id :[1:10086900]
Tue May 19 23:25:13.306 2009 Morocco Standard Time INFO: pid 2172 tid 3124: 160: 10086900: QNA Step - AUTH IN PROGRESS
Tue May 19 23:25:13.306 2009 Morocco Standard Time INFO: pid 2172 tid 3124: 160: 10086900: Session tracker Id associated with QnA challenge(auth round questions) : [1:10086885]
Tue May 19 23:25:13.306 2009 Morocco Standard Time INFO: pid 2172 tid 3124: 160: 10086900: User DB Query Details:
Tue May 19 23:25:13.306 2009 Morocco Standard Time INFO: pid 2172 tid 3124: 160: 10086900: userName :[]
Tue May 19 23:25:13.306 2009 Morocco Standard Time INFO: pid 2172 tid 3124: 160: 10086900: Group ID :1020
Tue May 19 23:25:13.306 2009 Morocco Standard Time INFO: pid 2172 tid 3124: 160: 10086900: User ID :5526
Tue May 19 23:25:13.306 2009 Morocco Standard Time INFO: pid 2172 tid 3124: 160: 10086900: Number of rows fetched from DB : 1
Tue May 19 23:25:13.306 2009 Morocco Standard Time INFO: pid 2172 tid 3124: 160: 10086900: Err[115261735], Message: Native Verification: ANSWER(s) MISMATCH! (correct/total : 1/2)!
Tue May 19 23:25:13.306 2009 Morocco Standard Time INFO: pid 2172 tid 3124: 160: 10086900: Err[115261735], Message: QNA Auth Failed(Invalid Credentials), Repeating the challenge and Returning FAILED
Tue May 19 23:25:13.306 2009 Morocco Standard Time INFO: pid 2172 tid 3124: 160: 10086900: Exiting QnAModule::authenticate
When i ran the program like this--
Processing file C:/Perl Script/Sample Programs/arcotwebfort_29May09_19_17_47.log
...
Warning: something's wrong at summaryreport_latest_working_latest.pl line 643.
in Total_Number_Of_Transactions
in avg_time_taken_in_QnA
C:/Perl Script/Sample Programs/arcotwebfort_20May09_00_03_55.log C:/Perl Script/
Sample Programs/arcotwebfort_20May09_15_12_18.log C:/Perl Script/Sample Programs
/arcotwebfort_20May09_23_32_56.log C:/Perl Script/Sample Programs/arcotwebfort_2
9May09_18_29_45.log C:/Perl Script/Sample Programs/arcotwebfort_29May09_19_17_47
.log
in avg_time_taken_in_OTP
in avg_time_taken_in_UP
The 'hour' parameter (undef) to DateTime::new was an 'undef', which is not one o
f the allowed types: scalar
at C:/Perl/lib/Params/ValidatePP.pm line 634
Params::Validate::__ANON__('The \'hour\' parameter (undef) to DateTime::
new was an \'unde...') called at C:/Perl/lib/Params/ValidatePP.pm line 485
Params::Validate::_validate_one_param('undef', 'HASH(0x1e3dc2c)', 'HASH(
0x1d391c8)', 'The \'hour\' parameter (undef)') called at C:/Perl/lib/Params/Vali
datePP.pm line 345
Params::Validate::validate('ARRAY(0x1c2cde4)', 'HASH(0x1d3933c)') called
at C:/Perl/lib/DateTime.pm line 171
DateTime::new('undef', 'year', 'undef', 'month', 'undef', 'day', 'undef'
, 'hour', 'undef', ...) called at summaryreport_latest_working_latest.pl line 36
9
main::avg_time_taken_in_UP('C:/Perl Script/Sample Programs/arcotwebfort_
20May09_00_03_55.log', 'C:/Perl Script/Sample Programs/arcotwebfort_20May09_15_1
2_18.log', 'C:/Perl Script/Sample Programs/arcotwebfort_20May09_23_32_56.log', '
C:/Perl Script/Sample Programs/arcotwebfort_29May09_18_29_45.log', 'C:/Perl Scri
pt/Sample Programs/arcotwebfort_29May09_19_17_47.log') called at summaryreport_l
atest_working_latest.pl line 233
main::Avg_Time_Taken_Per_Transaction('C:/Perl Script/Sample Programs/arc
otwebfort_20May09_00_03_55.log', 'C:/Perl Script/Sample Programs/arcotwebfort_20
May09_15_12_18.log', 'C:/Perl Script/Sample Programs/arcotwebfort_20May09_23_32_
56.log', 'C:/Perl Script/Sample Programs/arcotwebfort_29May09_18_29_45.log', 'C:
/Perl Script/Sample Programs/arcotwebfort_29May09_19_17_47.log') called at summa
ryreport_latest_working_latest.pl line 182
main::process_summaryreport('C:/Perl Script/Sample Programs/arcotwebfort
_20May09_00_03_55.log', 'C:/Perl Script/Sample Programs/arcotwebfort_20May09_15_
12_18.log', 'C:/Perl Script/Sample Programs/arcotwebfort_20May09_23_32_56.log',
'C:/Perl Script/Sample Programs/arcotwebfort_29May09_18_29_45.log', 'C:/Perl Scr
ipt/Sample Programs/arcotwebfort_29May09_19_17_47.log') called at summaryreport_
latest_working_latest.pl line 84
main::main() called at summaryreport_latest_working_latest.pl line 57