Contributions
MockService performance
Hey, i would like to ask if there is a way to improve rest mockService performance My coworkers have task to perform end-to-end test with 20 threads simultaneously on system that uses 2 of my mockServices. The problem is that each acknowledged request has bigger response time reaching to 12 seconds in peak and then goes down to something like 200ms to repeat whole process. Down below i attached test results I measured processing time of my code that is transforming request where it selects important data, add some generated informations to return as response and it does its job in 1ms. That suggests mockService request processing problems ... but i didn't figure out yet what is the reason. Request is not large, only 15 lines so there is not much to process ... is it everything because of 20 threads ? Can i assign more memory to perticular mockService or something ?404Views0likes0CommentsRe: Cloning mock service
Finally, I found the sollutionon smartBear api docs . There was something likeCloneMockServiceAction. cloneToAnotherProject(WsdlMockServicemockService,Stringname,WsdlProjecttargetProject,Stringdescription) which description seems deprecated because current parameters are different -> cloneToAnotherProject(WsdlMockService mockService, String targetProjectName, String name, String description) To solve my problem I used same method that cloneToAnotherProject used inside and i did this on target Project object importMockService(WsdlMockService mockService, String name, boolean createCopy, String description)1.3KViews0likes0CommentsCloning mock service
Hey, I have a question that I have searched for everywhere and didnt found answer. My task is to create script in groovy that will clone mockService to different project, set different ports etc ... the problem is that i can't find any possible way to reach my goal. I know that TestCase's have clone method so i was looking for same thing in mockServices and found nothing. I tried lot of things like append mockServiceList, use addWsdlMockService with parameter containing desired mockService to target project and nothing worked. I may do this by hand using F9 but this is supposed to work automaticallyafter some periodSolved1.4KViews0likes1Comment