use pb to config mock