Ticket #1278 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

BenchRunner: UserAgent is not set

Reported by: dborca at yahoo dot com Assigned to: bdelbosc
Priority: P2 Milestone: unspecified
Component: funkload Version: unspecified
Severity: major Keywords: bench useragent
Cc:

Description

The User Agent is set correctly in Test mode, but it seems to be missing in Bench mode. Since some applications are relying on it, all benchmarks will fail.

Change History

01/19/06 10:46:25 changed by bdelbosc

  • keywords changed from bench mode failing to bench useragent.
  • priority changed from P1 to P2.
  • severity changed from blocker to major.
  • milestone changed from CPS 3.2.5 to unspecified.

I had just try with the demo/simple example adding a "self.setUserAgent('TEST-USER-AGENT/FOO-BAR')" at the beginning, ngrep shows me that the user agent is setted both in test and bench mode:

#########
T 127.0.0.1:34353 -> 127.0.0.1:80 [AP]
  GET /apache2-default/index.html.fr HTTP/1.0..Host: 127.0.0.1..User-Agent: T
  EST-USER-AGENT/FOO-BAR..Referer: http://localhost/apache2-default/index.htm
  l.de....

could you give me a way to reproduce your problem ?

01/19/06 10:52:54 changed by bdelbosc

  • summary changed from UserAgent in bench mode to BenchRunner: UserAgent is not set.

01/24/06 09:46:32 changed by bdelbosc

  • status changed from new to closed.
  • resolution set to worksforme.

01/26/06 17:25:18 changed by bdelbosc

  • status changed from closed to reopened.
  • resolution deleted.

Daniel Borca wrote:

During test mode, the user agent is read from .conf. But in benchmark mode, the .conf parameter seems to be ignored.

01/26/06 17:34:12 changed by bdelbosc

  • status changed from reopened to closed.
  • resolution set to fixed.

ok [32284] should fix this one.