标签: mocking
如何在mockaroo.com中随机生成错误?下面这样的东西不起作用(总是收到401)
if random(0, 2) > 1 then status 500 { message: 'I was told to error' } else schema "Todos" generate 10 end