header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
September 06, 2008, 07:44:26 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Latest posts of: Christoph Schwarz
Welcome, Guest. Please login or register.
September 06, 2008, 07:44:26 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

  Show Posts
Pages: [1]
1  soapUI / soapUI / Re: No response for request - web service hosting with wshttpbinding on: June 18, 2008, 08:30:12 am
Hi Ole,

just wanted to ensure you got my email with all the WSDL and XSD files as i didnt hear back from you yet.

thanks in advance
Chris
2  soapUI / soapUI / Re: No response for request - web service hosting with wshttpbinding on: June 13, 2008, 12:29:24 pm
Hi Ole,

this is the WSDL

thanks,
Chris
3  soapUI / soapUI / Re: set a date from a testcase property on: June 13, 2008, 11:57:35 am
Hi,

for me it works when i manually copy the property string in the XML like this: <sec1:CreatedFrom>${#TestSuite#TodaysDate}</sec1:CreatedFrom>

regards
Chris
4  soapUI / soapUI / Re: No response for request - web service hosting with wshttpbinding on: June 13, 2008, 09:25:40 am
Hi,

we are having the same problem with our WSHttp service - works fine with basic http but we always get a timeout for the response.

Is there a list of features which are not supported currently? that would help a lot on changing the configuration for testing.

thanks
Chris
5  soapUI / soapUI / Re: set a date from a testcase property on: June 12, 2008, 08:28:43 am
Hi,

yes, i try to select it on the form and it is displayed, but when i switch to the xml then there the date is still shown and when i switch back to the form the date there is shown again.

i originally created the request in the service with a date set, then copied it to a testcase and wanted to select the property extension.

i tried to enter it manually in the xml and this works.

i am using version 2.0.2

regards,
Chris
6  soapUI / soapUI / Re: set a date from a testcase property on: June 11, 2008, 04:45:05 pm
Hi Ole,

i want to do something like this request from a database:

   <soapenv:Body>
      <sec:GetList>
         <!--Optional:-->
         <sec:AuditLogEntryRequest>
            <!--Optional:-->
            <sec1:UserName>AnyUser</sec1:UserName>
            <!--Optional:-->
            <sec1:Module>Module</sec1:Module>
            <!--Optional:-->
            <sec1:EventContract>IContract</sec1:EventContract>
            <!--Optional:-->
            <sec1:EventOperation>Login</sec1:EventOperation>
            <!--Optional:-->
            <sec1:CreatedFrom>2008-06-10T00:00:00.000+02:00</sec1:CreatedFrom>
            <!--Optional:-->
            <sec1:CreatedUntil>2008-06-12T00:00:00.000+02:00</sec1:CreatedUntil>
         </sec:AuditLogEntryRequest>

where i would like to replace the Date in <sec1:CreatedFrom>2008-06-10T00:00:00.000+02:00</sec1:CreatedFrom> with a date from a property: ${#TestSuite#TodaysDate} (currently set to Wed Jun 11 16:39:07 CEST 2008)

so the createdFrom should look like this: <sec1:CreatedFrom>${#TestSuite#TodaysDate}</sec1:CreatedFrom>

thanks,
Chris
7  soapUI / soapUI / set a date from a testcase property on: June 11, 2008, 03:35:20 pm
hi,

i have a testcase where i have a date field where i always want to have the actual date from today and not a fixed date from the datepicker. so i did a simple groovy script to generate todays date, store it as a testsuite property and would like to import that testsuite property into the date field.
but whenever i close the request and reopen it i have the date in there and not the property value anymore.

is there a way to keep the property value?

thanks,
Christoph
8  soapUI / soapUI / Re: Test Cases...Possibility to start TestCase at a Particular Step on: June 04, 2008, 04:28:55 pm
Hi Ole,

it would be great to have the general possibility of a multiselect and then do the action you want to execute for all the selected elements (eg. clone teststeps,...)

thanks christoph
9  soapUI / soapUI / soap version 1.2 as standard setting for imported WSDL on: May 16, 2008, 07:41:46 am
hi,

is there a way to have soapui create new WSDL's in projects automatically with soap version 1.2 and not with 1.1?

regards
Christoph
10  soapUI / soapUI / Re: resultset list assertions on: May 07, 2008, 04:50:26 pm
Thanks Ole,

this is working great now. here is the exact result and the according XQuery:

<GetListResponse xmlns="http://SecondTravel.Global.ServiceContract.Licence.v1_0Package.ILicencePackage">
         <GetListResult xmlns:a="http://schemas.datacontract.org/2004/07/SecondTravel.Global.DataContract.Licence.v1_0" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SecondTravel.Library.Instrumentation.Errors">Successful</ResultCode>
            <Errors xmlns="http://schemas.datacontract.org/2004/07/SecondTravel.Library.Instrumentation.Errors"/>
            <Infos xmlns="http://schemas.datacontract.org/2004/07/SecondTravel.Library.Instrumentation.Errors"/>
            <Warnings xmlns="http://schemas.datacontract.org/2004/07/SecondTravel.Library.Instrumentation.Errors"/>
            <TransactionHandleName xmlns="http://schemas.datacontract.org/2004/07/SecondTravel.Library.Instrumentation.Errors"/>
            <a:ResultSet xmlns:a="http://schemas.datacontract.org/2004/07/SecondTravel.Global.DataContract.Licence.v1_0" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://SecondTravel.Global.ServiceContract.Licence.v1_0.ILicence" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
                    <a:LicenceDCResultItem>
                      <a:FunctionalityCode>Users</a:FunctionalityCode>
                    </a:LicenceDCResultItem>
                    <a:LicenceDCResultItem>
                      <a:FunctionalityCode>Global_Codes</a:FunctionalityCode>
                    </a:LicenceDCResultItem>
                    <a:LicenceDCResultItem>
                      <a:FunctionalityCode>Global_Subscribe</a:FunctionalityCode>
                    </a:LicenceDCResultItem>
                  </a:ResultSet>

XQuery:

declare namespace a='http://schemas.datacontract.org/2004/07/SecondTravel.Global.DataContract.Licence.v1_0';
declare namespace ns1='http://SecondTravel.Global.ServiceContract.Licence.v1_0Package.ILicencePackage';
<Licences>
{
for $z in //ns1:GetListResult/a:ResultSet/a:LicenceDCResultItem/a:FunctionalityCode/text()
order by $z return <FunctionalityCodes>{data($z)}</FunctionalityCodes>
}
</Licences>

this returns all functionalitycodes in a ordered list that then is compared with the expected result (in the same ordered list)

hope this helps others finding into XQuery faster

regards Christoph
11  soapUI / soapUI / resultset list assertions on: April 29, 2008, 03:27:10 pm
Hi,

i am doing some assertions for a resultset that is a list that looks like this:

<a:ResultSet xmlns:a="http://schemas.datacontract.org/2004/07/SecondTravel.Global.DataContract.Licence.v1_0" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://SecondTravel.Global.ServiceContract.Licence.v1_0.ILicence" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <a:LicenceDCResultItem>
    <a:FunctionalityCode>Users</a:FunctionalityCode>
  </a:LicenceDCResultItem>
  <a:LicenceDCResultItem>
    <a:FunctionalityCode>Global_Codes</a:FunctionalityCode>
  </a:LicenceDCResultItem>
  <a:LicenceDCResultItem>
    <a:FunctionalityCode>Global_Subscribe</a:FunctionalityCode>
  </a:LicenceDCResultItem>
</a:ResultSet>

now depending on the GUID in the database the order of the <a:FunctionalityCode> items change.

is there a assertion except "Contains" that validates for the items and doesnt care about the order?

i tried match content and Xpath match bot both are failing when the order changes.

thanks
Christoph
12  soapUI / soapUI / Re: trim for values with spaces deletes the spaces on: April 28, 2008, 03:05:07 pm
Hi Ole,

i did a bit of investigation and it always happens when i have to do a refactor (which i had to do lately).
as far sa i could see it works when you just save the project and open it again as i had the pretty print turned off anyway.

Regards
Chris
13  soapUI / soapUI / trim for values with spaces deletes the spaces on: April 28, 2008, 07:55:02 am
i want to test the trim of spaces entered before and after the values (   password   ) to work correctly but when i save the projects and open them the next time soapui automatically deletes the spaces and i cant test correctly.

is there a possibility to disable this feature? or do i have to enter the values in a special way like escaped?

thanks
Christoph
14  soapUI / soapUI / Re: Xpath validation of list results problem on: January 22, 2008, 11:29:14 am
this has been resolved in version 2.0.1

thanks to Ole
15  soapUI / soapUI / Xpath validation of list results problem on: January 09, 2008, 12:19:56 pm
I have a resultset with a list of items that i want to validate with XPath in soapui 2.0. when i add the XPath validations for the different list items it always uses the 1st entry.

this is the resultset i get from the service:
 <a:ResultSet>
               <a:CountryDCResponseItem>
                  <Code xmlns="http://schemas.datacontract.org/2004/07/SecondTravel.Global.DataContract.Global.v1_0">JJJ</Code>
                  <Name xmlns="http://schemas.datacontract.org/2004/07/SecondTravel.Global.DataContract.Global.v1_0">JJJ Multilang updated country JJJ only Name</Name>
                  <Languages xmlns="http://schemas.datacontract.org/2004/07/SecondTravel.Global.DataContract.Global.v1_0" xmlns:b="http://schemas.datacontract.org/2004/07/SecondTravel.Library.CommonCode.Shared">
                     <b:LanguageItemDC>
                        <b:LanguageCode>DE</b:LanguageCode>
                        <b:Name>JJJ TestLand 3 zeichen Deutsch</b:Name>
                        <b:Comment>Das ist ein Deutscher eintrag</b:Comment>
                     </b:LanguageItemDC>
                     <b:LanguageItemDC>
                        <b:LanguageCode>RU</b:LanguageCode>
                        <b:Name>JJJ испытайте характеры русского 3 языка</b:Name>
                        <b:Comment>This is a Russian entry</b:Comment>
                     </b:LanguageItemDC>
                     <b:LanguageItemDC>
                        <b:LanguageCode>AR</b:LanguageCode>
                        <b:Name>JJJ اختبرت بلد 3 رموز روسيّة</b:Name>
                        <b:Comment>Das ist ein Arabischer eintrag</b:Comment>
                     </b:LanguageItemDC>

when i do a XPath validation for <b:LanguageItemDC>                         <b:LanguageCode>DE</b:LanguageCode> it validates correctly for DE.

when i do a XPath validation for <b:LanguageItemDC>                         <b:LanguageCode>RU</b:LanguageCode> it validates also for DE and not for RU (if i manually enter RU i get an error that expected is DE).

what do i have to change that this validations are working again as they did in version 1.7.6?

thanks
Christoph
Pages: [1]


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header