q param support in mock