Upload an audio file
Hello, I would like to attach an audio file in a SOAP request. I would like to place this file at a specific location in the request but I can't. Here is the location in the request where I would like to drop the file: <v1:mediamessage> <xsd:codec> <xsd:codecID>audio/MPA;layer=3</xsd:codecID> </xsd:codec> <xsd:location>Here the message.mp3 file i want to upload</xsd:location> </v1:messageMedia> I don't have a server installed on my pc.(XXX is because i prefer hide the ip) If I do "attach" and select a file, I don't know where it will be placed in the request. It seems to me that once the file is uploaded, I should have something like this instead: <v1:messageMedia> <xsd:codec> <xsd:codecID>audio/MPA;layer=3</xsd:codecID> </xsd:codec> <xsd:location>cid:123564548786477</xsd:location> </v1:messageMedia> if I click on "attachment" and then select a file, when I select the drop-down list in the "part" column, the cid is not present either. i've tried this method: " To specify a MTOM attachment: Set theEnable MTOMrequest property totrue. Add a file to the Attachments tab as it was describedabove. In the Part column, select thecididentifier that your request body specifies " I hope you will understand my request thank you in advance for your help because I'm stuck here.871Views0likes1CommentLoading Property Values Dynamically from a File
I need to load a section of my request dynamically each time. I created a property at the test case level called Message ( ${#TestCase#Message} ) and added a Property step that is supposed to read the value from a file. There are 3 steps in my test case: Load the Message property (the value of the property is defined in the file) Execute the request (inserts the property value into the request) Property Transfer (returns the response status) The request has the property name substituted for the dynamic section.However the value is not read when I execute the test case, it only contains the value from when I manually execute from the Property step editor. It merges the property request into the request just fine, and the property transfer is also working, but the value is static and not dynamically loaded. How do I get it to update the property value every time I execute the test case? I am using an external tool that interfaces with SOAP UI so I want to stay away from scripting, just want to use standard SOAP UI steps. Screen shots attached, any and all help greatly appreciated!Solved1.5KViews0likes1CommentAccess thread count number
Hi. Is there a possibility to acces the current thread count as a property or something else? I would like to write some properties into an external file, but I also have to know the actual thread count when testing with several threads. I'm accessing my file as follows: File file = new File("D:/saveLabel.properties") file.delete() file << ("\r\n") file << ("PickupCode: ") file << (testRunner.testCase.getPropertyValue("PickupCode").toString()) So, my question: Is there a possibility to acces the number of the thread which is actually running? (Like testRunner.testCase.getPropertyValue("actualThreadCount").toString()) or something like this..) Thanks in advance.Solved1.8KViews0likes1Comment