trace replay feature and cookies

Ragavan Ambighananthan <[email protected]> Wed, 20 Jul 2011 14:58:18 +0100
Newsgroups gmane.comp.web.web-polygraph.user
Organization CISCO
Message-ID <1311170298.26682.4.camel@ragavan-linux-desktop>
Hi 
I am using the trace replay functionality of web polygraph and I am
using urls from our production access logs.

However, at some point WP client aborts with the following emssage.

025.69| fyi: changing populus factor level from 9.17% to 9.26%
025.69| script output: small sample mean response time is 148msec
httpHdrs.cc:433: (s0) Success

Client.cc:1009: assertion failed: '!info.cookies'
Aborted

Is this anything related to cookies and how to stop this from
happening ?

I have attached the work load I was using. Any help would be
appreciated.

Regds
Ragavan

_______________________________________________
Users mailing list
Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected]
http://www.web-polygraph.org/mailman/listinfo/users
web-polygraph-srv-clt.pg (text/x-csrc, 2 KB)
// include content types and lifecycles which will be useful later on
#include "/opt/polygraph/workloads/include/contents.pg"

// wait for a single transaction so that client and server are synchronized
Phase wait = {
	name = "wait";
	goal.xactions = 1;
	load_factor_end = 0.01; // may need to adjust
	log_stats = false;
};

// fire requests at the target to fill up the cache
Phase warmup = {
	name = "warmup";
	goal.fill_size = 1GB;
	load_factor_beg = 0.1; // may need to adjust
	log_stats = false;
};

Goal smallSample = { duration = 5sec; };
Goal midSample = { duration = 10sec; };

Phase peakFinder = {
	name = "peak-finder";
	goal.duration = 1hour;
	load_factor_beg = 1.0;
	populus_factor_beg = 0.02;

	script = {
		every smallSample do {
			StatSample sample = currentSample();
			print("small sample mean response time is ", sample.rep.rptm.mean);
			if (sample.rep.rptm.mean > 2000msec) then {
				print("decreasing populus factor");
				changePopulusFactorBy(-2%);
			}
		};

		every midSample do {
      StatSample sample = currentSample();
      print("sample mean response time is ", sample.rep.rptm.mean);
      //if (sample.rep.rptm.mean < 100msec && sample.rep.rate <= 1000) then {
      if (sample.rep.rptm.mean < 1700msec ) then {
        print("increasing populus factor");
        changePopulusFactorBy(+1%);
      }
		};
	};
};
schedule(peakFinder);

Server S = {
	kind = "S101"; 
	contents = [ cntImage, cntHTML, cntDownload, cntOther ];
	direct_access = contents;
	//addresses = M.addresses;
	 addresses = [ '10.10.1.80:9090' ];
};
Robot R = {
	kind = "R101";
	interests = [ "public": 1%, "foreign" ]; //user traces
	foreign_trace = "/opt/polygraph/workloads/test.urls";
	pop_model = { pop_distr = popUnif(); };
	recurrence = 55% / cntImage.cachable;
	req_rate = 0.4/sec;
	//origins = M.names;
	origins = [ '10.10.1.80:9090' ];
	//origins = S.addresses;
	addresses = ['10.10.1.89' ** 1000 ];
};
use(S, R);