Contributions
Re: SoapUI project keystore password security?
Oops, just found a solution myself: When I add a keystore for the project, it's not necessary to enter the password there. I can enter a password in the properties for the WSS signature, and there I can use a reference. (I guess it could still be a good idea to allow references in the password field for the project keystores.) Best regards, Kris6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes0CommentsSoapUI project keystore password security?
Hi, I have a project where I need to sign my requests using a keystore. For this I need to add a keystore to my project and also enter the password for it. This means that when I save the project to source control, that password gets saved along with it. I tried a few things to avoid this: * global SSL keystore: can't seem to use this for signatures * save the password in the global preferences (so it stays on my machine) and use a reference to read it: this works for a lot of other (password) fields, but not this one * encrypting the entire project: this makes source control fairly useless * encrypting just selected properties: doesn't work for this password field and I can't put it in a property either because the password field doesn't work with references Any other ways I could do what I want? So either encrypt/hide the password in WSS Config - Keystores, or, in Outgoing WS-Security Configurations - [my configuration] - Signature, select a keystore that doesn't have to be set in my project? Best regards, KrisSolved6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes1CommentSoap request doesn't work with 35kb request
Hello, I have a soap request I want to test. Its size is about 35kb, nottiny but also not huge by any means. However when I send it to the server, the server only receives a part of it, and then keeps waiting. SoapUI keeps waiting too and eventually timeouts. When I try the same with curl, both locally (on the VM I'm running the server on), and remotely (still on my machine but not on the VM), it just works: the server receives the complete request and SoapUI receives the answer. I can make the request smaller by removing some data I don't really need for this test and by using namespace aliases instead of repeating them all over, and this eventually works when I get the request small enough. So I have a workaround but since I can't seem to find any tools that automatically alias asmany namespaces as possible this is very labor intensive so I'd rather avoid it. Both SoapUI and SoapUI Pro have the same result. Any ideas why this could be happening? Best regards, Kris7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes3CommentsGlobal preferences - SSL - multiple keystores?
Hi, In the global ReadyAPI settings, under the SSL tab, I can specify a keystore and keystore password. Is there any way to do this on a project (or request) level instead? I have multiple projects that require client certificates to be sent on the transport level and I don't want to manually switch them all the time. Best regards, Kris Other threads I found with the same question but with no answer: https://community.smartbear.com/t5/SoapUI-Open-Source/Multiple-client-certificate/m-p/121937#M20992 https://community.smartbear.com/t5/SoapUI-Open-Source/Multiple-Keystores-SSL-Settings/m-p/17044#M8776Solved8 years agoPlace ReadyAPI QuestionsReadyAPI Questions5KViews0likes4Comments- 9 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes1Comment
Use a timestamp in request and test for it in response
Hi, I have a service where I'm sending a correlation ID: I send thisvalue in the request, and I expect the same value in the response. For testing this, I generate a timestamp that I send in the request, and I get the same answer in the response. So far so good, but I can't figure out how to put this into an assertion. This is how I generate the timestamp for the request: ${=import java.text.SimpleDateFormat ; new SimpleDateFormat("YYYY-MM-dd HH:mm:ss").format(new Date())} For the assertion, I try to refer to the correlation ID property in the request. But when it actually does the assertion, it just evaluates the above function again, thus getting a new timestamp, and failing the test. How can I make it so that it doesn't run the expression again during the assertion, but refers to what was sent in the actual request? Or failing that, can I somehow prepare the timestamp somehow (*), save its value, and then use that to both send the request and check the response? I tried the 'Properties' and the 'Property Transfer' teststeps, but those didn't help. (*: without manually typing it in, obviously) Thanks & best regards, Kris9 years agoPlace ReadyAPI QuestionsReadyAPI Questions15KViews0likes1CommentRe: Virt receiving but not sending, transaction log is empty
Is that possible on an entirely local configuration? Everything is on my laptop: ReadyApi and WSO2 ESB. Edit: in fact, I just installed SoapUI 5.2.1, started the mock services, and those did work. Some more information: I actually have 2 mock services/virts. They are exactly the same, except running on a different port. The first one works, the second one doesn't. The only difference I can see between the two is that the first gets its call encoded as 'UTF-8' and the second as 'utf-8'. This works just fine in SoapUI 5.2.1, but it apparently doesn't in Ready! API. Is this a known bug? The encoding string should be case insensitive. It's also kinda weird that the 'utf-8' encoding is actually sent by the first virt - which is then not understood by the second. As far as I can see anyway.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.4KViews0likes0CommentsVirt receiving but not sending, transaction log is empty
Hi. I have a virt that, when called directly from a project in Ready API, works fine. It receives the message, sends a response, and both of these are shown in the transaction log. But when it's called from a proxyin a (local) WSO2 ESB installation, it doesn't work. The counter for 'received' message goes up one, but the 'sent' counter doesn't change, and I don't see new entries in the transaction log for the virt. Any ideas on how I could debug this?I would like to see what is being received exactly but I can only see the counter going up.2.4KViews0likes2Comments