# Is there a way to run functional tests against older version of Kibana?

**URL:** <https://discuss.elastic.co/t/is-there-a-way-to-run-functional-tests-against-older-version-of-kibana/196640>\
**Category:** Kibana\
**Created:** [August 24, 2019, 10:18pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-run-functional-tests-against-older-version-of-kibana/196640 "2019-08-24T22:18:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaronoah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaronoah/32/27950_2.png) [@aaronoah](https://discuss.elastic.co/u/aaronoah)\
**Post date:** [August 24, 2019, 10:18pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-run-functional-tests-against-older-version-of-kibana/196640/1 "2019-08-24T22:18:24Z")

</div>

For older versions of Kibana plugin development, I tried to run functional tests on Kibana but it failed to download the required Elasticsearch as it seems to use SNAPSHOT every time instead of the correct version of es. Is there a way to download the correct version of es and run the functional tests, for plugin dev environment?

---

<div class="post-metadata">

**Author:** ![mbelaloui](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mbelaloui/32/49140_2.png) [@mbelaloui](https://discuss.elastic.co/u/mbelaloui)\
**Post date:** [August 25, 2019, 4:17pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-run-functional-tests-against-older-version-of-kibana/196640/2 "2019-08-25T16:17:59Z")

</div>

Hello @aaronoah,

You can get past releases of elasticsearch by replacing the X-X-X with the version that you are looking for

`https://www.elastic.co/fr/downloads/past-releases/elasticsearch-X-X-X`

for the 6.2.0 try

`https://www.elastic.co/fr/downloads/past-releases/elasticsearch-6-2-0`

Mehdi.

---

<div class="post-metadata">

**Author:** ![aaronoah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaronoah/32/27950_2.png) [@aaronoah](https://discuss.elastic.co/u/aaronoah)\
**Post date:** [September 12, 2019, 3:54am UTC](https://discuss.elastic.co/t/is-there-a-way-to-run-functional-tests-against-older-version-of-kibana/196640/3 "2019-09-12T03:54:00Z")

</div>

The issue is the `functional_tests` script automatically uses the url like: `https://snapshots.elastic.co/downloads/elasticsearch/elasticsearch-oss-x.x.x-SNAPSHOT.tar.gz` and it throws not found error. I wonder what should I do to use the correct url for es archive download.

---

<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:** [October 10, 2019, 3:54am UTC](https://discuss.elastic.co/t/is-there-a-way-to-run-functional-tests-against-older-version-of-kibana/196640/4 "2019-10-10T03:54:05Z")

</div>

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