Contributions
- 10 years agoPlace Community Off-TopicCommunity Off-Topic8.7KViews0likes0Comments
- 10 years agoPlace Community Off-TopicCommunity Off-Topic8.8KViews0likes0Comments
Changing Username
My username was changed when moving to the new Forum. I was wondering if/how I could go about changing it to something else. Also, I have another account here that I used for LoadUIWeb now. The rules say only 1 account per user and I didn't want to violate and don't see the need for 2 accounts. Thanks!Solved10 years agoPlace Community Off-TopicCommunity Off-Topic8.8KViews0likes6CommentsRe: BCS Certifications worth doing?
Typically speaking, the certifications will provide very little for you. If you search through theSQA Stack Exchangefor certifications you will see the majority of answers are, essentially, they are a waste of time. Most QA managers know this. Most could care less if someone is certified and most can determine someone's skill level by simply talking to them and getting to know them. All of that being said, a lot of HR departments can not do this and will hold certifications to high regards. Since they know very little about SQA in general they are more likely to pass along someone with the certifications and degrees to the hiring managers than someone without them. So it's very much a catch 22. The person that matters doesn't care but the person who gets you in front of the person who matters might care.10 years agoPlace Community Off-TopicCommunity Off-Topic4.6KViews0likes0CommentsRe: Referencing a list
This is actually very easy to obtain within SoapUI, depending on the level of validation that is required. If it is 1 simple web call that you just need ran just do the following: (Note: I am using the currency converter WSDL as an example with no validation at all) def currencies = ['AFA','ALL','DZD','ARS','AWG','AUD','BSD','BHD','BDT','BBD','BZD','BMD','BTN','BOB','BWP','BRL','GBP','BND','BIF','XOF','XAF','KHR','CAD','CVE','KYD','CLP','CNY','COP','KMF','CRC','HRK','CUP','CYP','CZK','DKK','DJF','DOP','XCD','EGP','SVC','EEK','ETB','EUR','FKP','GMD','GHC','GIP','XAU','GTQ','GNF','GYD','HTG','HNL','HKD','HUF','ISK','INR','IDR','IQD','ILS','JMD','JPY','JOD','KZT','KES','KRW','KWD','LAK','LVL','LBP','LSL','LRD','LYD','LTL','MOP','MKD','MGF','MWK','MYR','MVR','MTL','MRO','MUR','MXN','MDL','MNT','MAD','MZM','MMK','NAD','NPR','ANG','NZD','NIO','NGN','KPW','NOK','OMR','XPF','PKR','XPD','PAB','PGK','PYG','PEN','PHP','XPT','PLN','QAR','ROL','RUB','WST','STD','SAR','SCR','SLL','XAG','SGD','SKK','SIT','SBD','SOS','ZAR','LKR','SHP','SDD','SRG','SZL','SEK','CHF','SYP','TWD','TZS','THB','TOP','TTD','TND','TRL','USD','AED','UGX','UAH','UYU','VUV','VEB','VND','YER','YUM','ZMK','ZWD','TRY'] for (String currency in currencies) { context.currency = currency; testRunner.runTestStepByName("ConversionRate"); } And the code in the request: (Note the context variable matches the one from the groovy script) <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:web="http://www.webserviceX.NET/"> <soap:Header/> <soap:Body> <web:ConversionRate> <web:FromCurrency>USD</web:FromCurrency> <web:ToCurrency>${=context.currency}</web:ToCurrency> </web:ConversionRate> </soap:Body> </soap:Envelope>855Views0likes0CommentsRe: How do I get property transfer step information via Groovy?
MPleas wrote: Oh! Yes, I see. You are right. I don't need to use PropertyTransferTestStep at all. I didn't notice those property inherited methods for teststep on the documentation. So this works just fine, which I will shortly change to be a loop. def propTxfr = tStep.getTransferAt(0) log.info "GetName: " + propTxfr.getName() log.info "GetSourcePath: " + propTxfr.getSourcePath() log.info "GetSourcePropertyName: " + propTxfr.getSourcePropertyName() log.info "GetSourceStepName: " + propTxfr.getSourceStepName() log.info "GetTargetPath: " + propTxfr.getTargetPath() log.info "GetTargetPropertyName: " + propTxfr.getTargetPropertyName() log.info "GetTargetStepName: " + propTxfr.getTargetStepName() Many, many thanks! Not using "PropertyTransferTestStep" is a stretch. The tStep variable is a PropertyTransferTestStep object. You just didn't need to create a new one.1.9KViews0likes0CommentsRe: How do I get property transfer step information via Groovy?
I have a feeling it is because you are just creating a PropertyTransferTestStep and not the actual PropertyTransfer. Is there a reason you are initializing a new PropertyTransferTestStep and not just using the one that already exists (tStep)? If you change your code to the following, it works. import com.eviware.soapui.impl.wsdl.teststeps.* def tCase = testRunner.testCase.testSuite.testCases[testRunner.testCase.name] def tStep = tCase.testSteps["Property Transfer"] log.info tCase.name log.info tStep.getTransferCount() Edit: Based on your first question I think I have put the pieces together. Here is some updated code that should work. import com.eviware.soapui.impl.wsdl.teststeps.* def tCase = testRunner.testCase.testSuite.testCases[testRunner.testCase.name] def tStep = tCase.testSteps["Property Transfer"] log.info tCase.name for (int i =0; i < tStep.getTransferCount(); i++) { def propTxfr = tStep.getTransferAt(i); log.info "GetName: " + propTxfr.getName() log.info "GetSourcePath: " + propTxfr.getSourcePath() log.info "GetSourcePropertyName: " + propTxfr.getSourcePropertyName() log.info "GetSourceStepName: " + propTxfr.getSourceStepName() log.info "GetTargetPath: " + propTxfr.getTargetPath() log.info "GetTargetPropertyName: " + propTxfr.getTargetPropertyName() log.info "GetTargetStepName: " + propTxfr.getTargetStepName() }1.9KViews0likes0CommentsRe: How do I get property transfer step information via Groovy?
Good morning. It would appear that you are attampting to handle an object as if the class is PropertyTransfer when you likely need to be using PropertyTransferTestStep. The PropertyTransferTestStep class has a function called getTransferByName that I believe would achieve your desired result.1.9KViews0likes0Comments