Fixing errors to pass jmeter tests