提问者:小点点

问题,而访问多个存根在一个单一的json文件与wiremck体变压器jar


线程"main"com. fasterxml.jackson.datind.exc.未识别的属性异常:无法识别的字段"mappings"(类com.github.tomakehurst.wiretck.StubMaps),未标记为可忽略(10个已知属性:"response","不需要的场景状态","优先级","持久","id","postServeActions","request","newScenarioState","uuid","场景名称"])

java-cp"wiremck-body-transver-1.1.3.jar; wiremck-2.3.1-标准.jar"com.github.tomakehurst.wioreck.标准.WireMockServerRunner-详细-扩展.BodyTransformer-端口8082

注意:在运行wiremck-2.3.1-标准. jar时,访问wiremck-body-变压器时不会遇到任何问题


共1个答案

匿名用户

或者,您可以调用wiremck api并一次性发布多个存根(jsons)。试试这个。这里的解决方案