LoadGen clarification - How to specify different weight for different attachments under Configuration File
I'm using Microsoft LoadGen to simulate sending multiple mails containing attachment through Exchange server. Setup is working perfectly. I've a requirement to send some x% of a particular attachment type (say word), y % of other attachment type (say presentation) and z % of some other attachment type ( say spreadsheets). To achieve the requirement I've modified Attachment parameter under configuration file. But am NOT able to specify the percentages to use the attachment. We've a parameter as 'Weight' but am not able to understand the behavior. Please provide some help to work with 'weight' parameter I've pasted few lines from XML configuration file -------------------------------------------------------------- < AttachmentParameters > < AttachFrequency > 100 </ AttachFrequency > - < AttachmentCount > < MinimumCount > 1 </ MinimumCount > < MaximumCount > 4 </ MaximumCount > < AverageCount > 2 </ AverageCount > </ AttachmentCount > < PercentInfected > 0 </ PercentInfected > - < MessageFiles > - < MessageFile > < Weight > 10 </ Weight > < Pathname > messages\DD.pdf </ Pathname > </ MessageFile > - < MessageFile > < Weight > 10 </ Weight > < Pathname > messages\emb.docx </ Pathname > </ MessageFile > - < MessageFile > < Weight > 10 </ Weight > < Pathname > messages\emb.xlsx </ Pathname > </ MessageFile > - < MessageFile > < Weight > 10 </ Weight > < Pathname > messages\samp.docx </ Pathname > </ MessageFile > - < MessageFile > < Weight > 10 </ Weight > < Pathname > messages\this is normal text.doc </ Pathname > </ MessageFile > </ MessageFiles > </ AttachmentParameters > ---------------------------------------------------------------------------
January 5th, 2011 9:39am

I believe this is a very late answer for you however will be helpful for seekers to come. Actually you can set the percentages with <weight> parameter. Just give values to each weight parameter which sum will be exact 100. So the weight values of each attachment will its percentage.
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2011 5:41pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics