ContributionsMost RecentMost LikesSolutionsRe: Generate random number in Soap UI using JavaHi, In a project I created with soapUI it was looking for a possibility to bring functionality to library. In the Open Source version of soapUI you create jars and you have to store those in folder <installation directory>/bin/ext/. Maybe you can use this either. You just code you function in Java and create a jar-file. This can be used by Groovy script very easily. To ensure a special number of digits I would recommend to use datatype String. In XML-document you will not have trouble with it. This solution might not be the most efficient but it will work. Best Regards DirkRe: MockService: How to anser a request with special HTTP statusHi Henrik, thanks for your answer. It is not a question that I do not trust in soapUI and its functionality. In my case I set up a MockService as a testing tool for client software. Whenever I have to insert scripts or code into test tools I am very strict regarding validation of these tools. So, by using another tool I think I avoid side effects. But okay, I will never again call another tool by name. I just talk about another tool. In my post I really forgot to mention that I am using soapUI 3.6.1. Sorry for that. I think I will stick to this version because using a nightly build should cause some trouble regarding configuration management in our project. We have to make sure that every tester uses the same snapshot. I am looking forward to read your answer on my mail to your support account. Thanks in advance. Best Regards Dirk O. SchweierMockService: How to anser a request with special HTTP statusHi, first I have to say that I really like soapUI. I use MockService for testing client software. I would like to answer a request with another HTTP status code than 200. I already used script inside response. Here you find my snippet: mockResponse.setResponseHttpStatus("401") In dialog "MockResponse Properties" I can observe the value 401 in property "Response HTTP-Status" After sending a request to MockService by jMeter I always see "Response code: 200". Could you please give me a hint? Thanks in advance. Best Regards Dirk O. Schweier