0

I have an include controller that has a property like this...

<stringProp name="IncludeController.includepath">../SSO/SSOLoginGroup.jmx</stringProp>

It seems to run fine locally and on the server, however, when I put it under load I see random errors like this...

o.a.j.c.IncludeController: loadIncludedElements -failed for: /home/jmeter/../SSO/SSOLoginGroup.jmx

I see some posts like this that suggests something like this...

<stringProp name="IncludeController.prefix">SSO</stringProp>
<stringProp name="IncludeController.includepath">SSOLoginGroup.jmx</stringProp>

But that doesn't seem to work either.

The other strange thing is that this is all in a if controller that should be turned off anyway.

How do I include relative paths in Blazemeter?

Update

The suggestion was made to somehow combine the folders. This doesn't really work given my structure, I have multiple "parts" of the site that interact together (think admin to add an item then a customer portal to view). Because of this I would like to have the tests in shared folders that can reference back and forth and be reused in other test configurations.

JGleason
  • 3,067
  • 6
  • 20
  • 54

1 Answers1

0
  1. The easiest solution is to move your SSO.jmx file to the same place where your main JMX script lives. This way you will be able to reference it by name only.

  2. Second recommended step is reaching out BlazeMeter Support as my expectation is that they know their infrastructure better than anyone else.


  1. If for some reason you have to include the file from another folder i.e. for compatibility with your local setup or version control system layout - upload it to Shared Folders

BlazeMeter Shared Folders

The contents of the Shared Folders is being copied to all slave machines so you will be able to reference it in the main script as:

JMeter Main Script Include Controller

So your final configuration should look like:

Blazemeter shared folder relative path

Dmitri T
  • 159,985
  • 5
  • 83
  • 133
  • I do have to keep the structure because the SSO folder for instance is used by both admin and portal tests. Otherwise I would have to have a copy in each folder or on big unorganized mess :-) – JGleason Jul 10 '18 at 13:50
  • Also there are multiple references back and forth so I can't really just have it in a local upload. Then again I would have the same file uploaded all over on the Blazemeter server (once per test that uses it.) – JGleason Jul 10 '18 at 13:51
  • Also can't find an email for blazemeter technical support. Just a link to their sales department. – JGleason Jul 10 '18 at 13:55