[#1536] Check if current request/params aren't null before using it when...

Check if current request/params aren't null before using it when loading fixture

* Fix dependencies for lib mysql connector