# Aerospike java mock server for unit testing

**URL:** <https://discuss.aerospike.com/t/aerospike-java-mock-server-for-unit-testing/773>\
**Category:** Java Client\
**Created:** [December 21, 2014, 10:04am UTC](https://discuss.aerospike.com/t/aerospike-java-mock-server-for-unit-testing/773 "2014-12-21T10:04:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![avihaim](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@avihaim](https://discuss.aerospike.com/u/avihaim)\
**Post date:** [December 21, 2014, 10:04am UTC](https://discuss.aerospike.com/t/aerospike-java-mock-server-for-unit-testing/773/1 "2014-12-21T10:04:50Z")

</div>

Hi all, Is there a Aerospike java mock server for unit testing? It’s can be vary help full for the development processes

Thanks

---

<div class="post-metadata">

**Author:** ![helipilot50](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/helipilot50/32/59_2.png) [@helipilot50](https://discuss.aerospike.com/u/helipilot50)\
**Post date:** [December 23, 2014, 10:21pm UTC](https://discuss.aerospike.com/t/aerospike-java-mock-server-for-unit-testing/773/2 "2014-12-23T22:21:16Z")

</div>

Nope, there is no mock Aerospike server for development.

But what I do is run a Linux VM in Virtual Box. It share the same IP address as the host operating system and the same file system. So it like running natively.

Follow these [instructions](http://www.aerospike.com/download/server/latest/) to the letter to install on Windows or OSX. Aerospike provides pre-made VM images that run in Virtual Box and Vagrant manages it and keeps it up to date.

Hope this helps

---

<div class="post-metadata">

**Author:** ![kunal.gautam](https://avatars.discourse-cdn.com/v4/letter/k/d78d45/32.png) [@kunal.gautam](https://discuss.aerospike.com/u/kunal.gautam)\
**Post date:** [December 22, 2015, 8:33pm UTC](https://discuss.aerospike.com/t/aerospike-java-mock-server-for-unit-testing/773/3 "2015-12-22T20:33:25Z")

</div>

> **[GitHub - maverickgautam/Aerospike-unit: Aerospike-unit enables unit +...](https://github.com/maverickgautam/Aerospike-unit/)**
>
> Aerospike-unit enables unit + integration test cases for Aerospike - GitHub - maverickgautam/Aerospike-unit: Aerospike-unit enables unit + integration test cases for Aerospike

This is a Java wrapper over actual Aerospike Server which can be used for unit + Integration Testing. Pom is having some issue i am fixing it ASAP, please let me know if you want to use i can do it urgently. Reachable at [kunal.gautham@gmail.com](mailto:kunal.gautham@gmail.com)

---

<div class="post-metadata">

**Author:** ![maxkraynov](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@maxkraynov](https://discuss.aerospike.com/u/maxkraynov)\
**Post date:** [April 18, 2016, 10:20am UTC](https://discuss.aerospike.com/t/aerospike-java-mock-server-for-unit-testing/773/4 "2016-04-18T10:20:46Z")

</div>

You can try small [framework](https://github.com/getintent/embedded-aerospike) for aerospike testing with docker.
