# Specify multiple challenge files

**URL:** <https://discuss.elastic.co/t/specify-multiple-challenge-files/126641>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [April 3, 2018, 10:09pm UTC](https://discuss.elastic.co/t/specify-multiple-challenge-files/126641 "2018-04-03T22:09:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![poorvig89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/poorvig89/32/28505_2.png) [@poorvig89](https://discuss.elastic.co/u/poorvig89)\
**Post date:** [April 3, 2018, 10:09pm UTC](https://discuss.elastic.co/t/specify-multiple-challenge-files/126641/1 "2018-04-03T22:09:30Z")

</div>

I am trying to do the below in my track.json file , where each of the json file is a challenge track .  
"  
...  
"challenges": [  
{% include "challenges/indexing.json" %},  
{% include "challenges/restaurant\_autocomplete.json" %},  
{% include "challenges/tag\_autocomplete.json" %},  
{% include "challenges/area\_autocomplete.json" %},  
{% include "challenges/es\_primary\_search.json" %}  
]  
"

However, when I run it , I get an error saying ""Could not load '/Users/pgarg/src/personalizer-nightly-benchmarking/rally/track.json'", 'Expecting property name enclosed in double quotes: line 941 column 13 (char 27127)'". Could someone please help me in fixing it . Thank you

---

<div class="post-metadata">

**Author:** ![poorvig89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/poorvig89/32/28505_2.png) [@poorvig89](https://discuss.elastic.co/u/poorvig89)\
**Post date:** [April 3, 2018, 10:13pm UTC](https://discuss.elastic.co/t/specify-multiple-challenge-files/126641/2 "2018-04-03T22:13:27Z")

</div>

sorry , I figured out the issue. " I had aextra "," in one of the files"

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [April 4, 2018, 5:53am UTC](https://discuss.elastic.co/t/specify-multiple-challenge-files/126641/3 "2018-04-04T05:53:43Z")

</div>

One addition: You don't need to include all of your challenges explicitly as there is a little helper in Rally, e.g.:

```auto
{% import "rally.helpers" as rally %}
{
 ...
  "challenges": [
    {{ rally.collect(parts="challenges/*.json") }}
  ]
}

```

Please see the [docs](http://esrally.readthedocs.io/en/stable/adding_tracks.html#structuring-your-track) for all details.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 2, 2018, 5:53am UTC](https://discuss.elastic.co/t/specify-multiple-challenge-files/126641/4 "2018-05-02T05:53:46Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
