Log in / create account
View source | Discuss page | Page history | Printable version   
360 Tour
ADVERTISEMENT
Accounting eLearning Courses
Partnerships
SourceForge.net Logo
Openbravo ERP at SourceForge

SourceForge.net Logo
Openbravo POS at SourceForge

Open Solution Alliance Logo
Openbravo at Open Solution Alliance

QA test plan 2.40/Web Services

Contents

Introduction

For Common Customer View demonstration between OSA partners applications is necessary to develop new web services.

Aim of the project

Develop new web services to achieve the objectives of Common Customer View demonstration between OSA partners applications.

Environment

For this test execution, it will be necessary:

Previous data

In order to test this module, it is a must to create some previous data.

Two clients:

Note: The clients must be created with a System Administrator user

One user with no roles

Five Business Partners

Note:Except for Customer B, use SampleClientAdmin to create the rest of Business Partners.

Note: Navigate Customer, Vendor and Employee tabs on each one to check the appropriate checkbox.

Test cases

getCustomer - Request - Get by Id

1. Send a request using valid data 

Expected result: The response XML contains the same data as the first step query

2. Send a request using non valid ClientId 

Expected result: The response XML has no useful data


3. Send a request using non valid CustomerId 

Expected result: The response XML has no useful data


4. Send a request using non valid Username/Password 

Expected result: The response XML has no useful data


5. Send a request violating security policies 

Expected result: The response XML has no useful data

getCustomer - Request - Get by Name

1. Send a request using valid data 

Expected result: The response XML contains the same data as the first step query

2. Send a request using non valid ClientId 

Expected result: The response XML contains the same data as the first step query

3. Send a request using non valid Name 

Expected result: The response XML has no useful data


4. Send a request using non valid Username/Password 

Expected result: The response XML has no useful data

5. Send a request violating security policies 

Expected result: The response XML has no useful data

getCustomer - Request - Get by SearchKey

1. Send a request using valid data 

Expected result: The response XML contains the same data as the first step query

2. Send a request using non valid ClientId 

Expected result: The response XML contains the same data as the first step query

3. Send a request using non valid Name 

Expected result: The response XML has no useful data


4. Send a request using non valid Username/Password 

Expected result: The response XML has no useful data

5. Send a request violating security policies 

Expected result: The response XML has no useful data

getCustomers - Request - Get all Customers

1. Send a request using valid data 

Expected result: The response XML contains the same data as the first step query

2. Send a request using non valid ClientID 

Expected result: The response XML has no useful data


3. Send a request using non valid Username/Password 

Expected result: The response XML has no useful data

4. Send a request violating security policies 

Expected result: The response XML has no useful data

getCustomer - Request - Get by Name and SearchKey

1. Send a request using valid data 

Expected result: The response XML contains the same data as the first step query

2. Send a request using non valid ClientId 

Expected result: The response XML contains the same data as the first step query

3. Send a request using non valid Name 

Expected result: The response XML has no useful data


4. Send a request using non valid Username/Password 

Expected result: The response XML has no useful data

5. Send a request using non valid Username/Password 

Expected result: The response XML has no useful data

6. Send a request violating security policies 

Expected result: The response XML has no useful data

getCustomerContact - Request - Get by Id

1. Send a request using valid data 

Additional tests:

Expected result: The response XML contains the same data as the first step query

2. Send a request using non valid ClientId 

Expected result: The response XML has no useful data

3. Send a request using non valid CustomerId 

Expected result: The response XML has no useful data

4. Send a request using non valid ContactId 

Expected result: The response XML has no useful data

5. Send a request using non valid Username/Password 

Expected result: The response XML has no useful data

6. Send a request violating security policies 

Expected result: The response XML has no useful data

updateCustomer - Request - Update a customer

1. Send a request using valid data 

Expected result: The response XML is True and running the query again verifies data was updated

2. Send a request using non valid ClientId 

Expected result: The response XML is False and no data is updated

3. Send a request using non valid Name 

Expected result: The response XML is False and no data is updated

4. Send a request using non valid SearchKey 

Expected result: The response XML is False and no data is updated


5. Send a request using non valid Username/Password 

Expected result: The response XML is False and no data is updated

6. Send a request using an existent Name and SearchKey 

Expected result: The response XML is False and no data is updated

7. Send a request violating security policies 

Expected result: The response XML is False and no data is updated

updateContact - Request - Update a contact

1. Send a request using valid data 

Additional tests:

Expected result: The response XML is True and running the query again verifies data was updated

2. Send a request using non valid ClientId 

Expected result: The response XML is False and no data is updated

3. Send a request using non valid Name 

Expected result: The response XML is False and no data is updated

4. Send a request using non valid SearchKey 

Expected result: The response XML is False and no data is updated


5. Send a request using non valid Username/Password 

Expected result: The response XML is False and no data is updated

6. Send a request using an existent Name and SearchKey 

Expected result: The response XML is False and no data is updated

7. Send a request violating security policies 

Expected result: The response XML is False and no data is updated

updateAddress - Request - Update an address

1. Send a request using valid data 

Additional tests:

Expected result: The response XML is True and running the query again verifies data was updated

2. Send a request using non valid ClientId 

Expected result: The response XML is False and no data is updated

3. Send a request using non valid Name 

Expected result: The response XML is False and no data is updated

4. Send a request using non valid SearchKey 

Expected result: The response XML is False and no data is updated


5. Send a request using non valid Username/Password 

Expected result: The response XML is False and no data is updated

6. Send a request using an existent Name and SearchKey 

Expected result: The response XML is False and no data is updated

7. Send a request violating security policies 

Expected result: The response XML is False and no data is updated

Results

All the bugs will be reported with the prefix QA-CCV2.

Please click here to see all the bugs

Please click here to see all the OPEN bugs

Retrieved from "http://wiki.openbravo.com/wiki/QA_test_plan_2.40/Web_Services"

This page has been accessed 1,001 times. This page was last modified 06:33, 14 May 2008. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.


Category: QualityAssurance