Performance Center Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

compilation error in load generator...

Occasional Contributor

compilation error in load generator...

hi everyone

In C , or WinSockets Vuser type scripts, I created and maintained one uniqe header file. and in my several Vuser scripts, I include it like this:

#include "../myinc.h"

 

but if I run a scenario, It will fail cuz compilation error on load generator except localhost.

 

Is there any way to solve this problem?

BTW, if I place the inculde file in the script foulder, and add this file. It will  compile ok. But then I have to maintain every include file for every script.

4 REPLIES
Highlighted
Frequent Advisor

Re: compilation error in load generator...

Put the file on a path accessible by all the loadgenerators.

To do this, you will need to put the myinc.h in the shared path, and then map that location as a network drive on all of the loadgenerators.

 

Then, in your script your location in the include statement should be //sharedlocation/inc.h

 

Regards,

AJ

Occasional Contributor

Re: compilation error in load generator...

I tried. It worked. Thank you v much!
Frequent Advisor

Re: compilation error in load generator...

Like any posts? please acknowledge the contributor with kudos.

To kudo a post, use the star icon by the particular post.

Occasional Contributor

Re: compilation error in load generator...

I'd like to add something

If u use windows xp as shared machine. note that xp only support 10 clients at the same time. so if you have more than 10 loader machine, there may be a prolem. windows server edition will be ok.