Generated by TestNG with ReportNG at 21:45 PST on Saturday 06 February 2021
root@87f6aca6b6f2 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.987s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.126s
2021-02-06 22:01:36 |

2021-02-06 22:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:01:36 | ------------------------------------

2021-02-06 22:01:36 | [Mutex] waiting for: [configured:node:node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81:node-959f3d30-8894-454d-90b9-9b93cf067939]

2021-02-06 22:01:36 | [Mutex] received everything.

2021-02-06 22:01:36 | [Mutex] isItemNotified: configured:node:node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81:node-959f3d30-8894-454d-90b9-9b93cf067939 :: true

2021-02-06 22:01:37 | [Mutex] waiting for: [received:nodes:f56fb0fc-b9a5-446b-974b-ed3349cdc093:localhost]

2021-02-06 22:01:37 | [Mutex] received everything.

2021-02-06 22:01:37 | [Mutex] isItemNotified: received:node:f56fb0fc-b9a5-446b-974b-ed3349cdc093:localhost:node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81:Node ccbbdfcc-cce5-4c09-924e-1ada7dcafd81 :: true

2021-02-06 22:01:37 | [Mutex] waiting for: [received:nodes:f72383d7-9412-4888-b0f2-d95cf17ffe61:localhost]

2021-02-06 22:01:37 | [Mutex] received everything.

2021-02-06 22:01:37 | [Mutex] isItemNotified: received:node:f72383d7-9412-4888-b0f2-d95cf17ffe61:localhost:node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81:Node ccbbdfcc-cce5-4c09-924e-1ada7dcafd81 :: false

createNodes 1.378s
2021-02-06 22:01:34 |

2021-02-06 22:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:01:34 | ------------------------------------

2021-02-06 22:01:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ccbbdfcc-cce5-4c09-924e-1ada7dcafd81</title></pubsub></data>

2021-02-06 22:01:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-06 22:01:35 | [Mutex] waiting for: [received:nodes:f728103c-af20-4a9f-b32d-b119c3d2143d:localhost]

2021-02-06 22:01:35 | [Mutex] received everything.

2021-02-06 22:01:35 | [Mutex] isItemNotified: received:node:f728103c-af20-4a9f-b32d-b119c3d2143d:localhost:node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81:Node ccbbdfcc-cce5-4c09-924e-1ada7dcafd81 :: true

createSubnodes 1.025s
2021-02-06 22:01:35 |

2021-02-06 22:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:01:35 | ------------------------------------

2021-02-06 22:01:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-959f3d30-8894-454d-90b9-9b93cf067939</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 959f3d30-8894-454d-90b9-9b93cf067939</title></pubsub></data>

2021-02-06 22:01:35 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-06 22:01:36 | [Mutex] waiting for: [received:nodes:3b2d7493-8ff1-42aa-8b34-37b0c63dc4bc:localhost]

2021-02-06 22:01:36 | [Mutex] received everything.

2021-02-06 22:01:36 | [Mutex] isItemNotified: received:node:3b2d7493-8ff1-42aa-8b34-37b0c63dc4bc:localhost:node-959f3d30-8894-454d-90b9-9b93cf067939:Node 959f3d30-8894-454d-90b9-9b93cf067939 :: true

deleteNodes 1.020s
2021-02-06 22:01:42 |

2021-02-06 22:01:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:01:42 | ------------------------------------

2021-02-06 22:01:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-959f3d30-8894-454d-90b9-9b93cf067939</node></data>

2021-02-06 22:01:42 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-06 22:01:43 | [Mutex] waiting for: [received:nodes:21e40705-0366-4c8c-8218-e835595d19d3:localhost]

2021-02-06 22:01:43 | [Mutex] received everything.

2021-02-06 22:01:43 | [Mutex] isItemNotified: received:node:21e40705-0366-4c8c-8218-e835595d19d3:localhost:node-959f3d30-8894-454d-90b9-9b93cf067939:Node 959f3d30-8894-454d-90b9-9b93cf067939 :: false

deleteSubnodes 1.130s
2021-02-06 22:01:41 |

2021-02-06 22:01:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:01:41 | ------------------------------------

2021-02-06 22:01:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81</node></data>

2021-02-06 22:01:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-06 22:01:42 | [Mutex] waiting for: [received:nodes:d3d73c5e-1049-4e23-85a5-0c1a8387841c:localhost]

2021-02-06 22:01:42 | [Mutex] received everything.

2021-02-06 22:01:42 | [Mutex] isItemNotified: received:node:d3d73c5e-1049-4e23-85a5-0c1a8387841c:localhost:node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81:Node ccbbdfcc-cce5-4c09-924e-1ada7dcafd81 :: false

2021-02-06 22:01:42 | [Mutex] waiting for: [received:nodes:a0cb63ce-d321-438c-a05b-1d815aaf4c26:localhost]

2021-02-06 22:01:42 | [Mutex] received everything.

2021-02-06 22:01:42 | [Mutex] isItemNotified: received:node:a0cb63ce-d321-438c-a05b-1d815aaf4c26:localhost:node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81:Node ccbbdfcc-cce5-4c09-924e-1ada7dcafd81 :: false

publishItemsToNodes 0.199s
2021-02-06 22:01:38 |

2021-02-06 22:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:01:38 | ------------------------------------

2021-02-06 22:01:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81</node><item-id>item-04621924-15de-417a-865b-7ea5cf1a874d</item-id><entry><test>item-04621924-15de-417a-865b-7ea5cf1a874d</test></entry></data>

2021-02-06 22:01:38 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-04621924-15de-417a-865b-7ea5cf1a874d</value></item-id></result>

2021-02-06 22:01:38 | [Mutex] waiting for: [published:item:notifieditem-04621924-15de-417a-865b-7ea5cf1a874d:admin@test-domain.com]

2021-02-06 22:01:39 | [Mutex] received everything.

2021-02-06 22:01:39 | [Mutex] isItemNotified: published:item:notifieditem-04621924-15de-417a-865b-7ea5cf1a874d:admin@test-domain.com :: true

retractItemsFromNodes 0.311s
2021-02-06 22:01:39 |

2021-02-06 22:01:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:01:39 | ------------------------------------

2021-02-06 22:01:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81</node><item-id>item-04621924-15de-417a-865b-7ea5cf1a874d</item-id></data>

2021-02-06 22:01:39 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-04621924-15de-417a-865b-7ea5cf1a874d</value></item-id></result>

2021-02-06 22:01:39 | [Mutex] received everything.

2021-02-06 22:01:39 | [Mutex] isItemNotified: retracted:item:notifieditem-04621924-15de-417a-865b-7ea5cf1a874d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.288s
2021-02-06 22:01:39 |

2021-02-06 22:01:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:01:39 | ------------------------------------

2021-02-06 22:01:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81</node><item-id>item-04621924-15de-417a-865b-7ea5cf1a874d</item-id></data>

2021-02-06 22:01:39 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81</value></node><item-id label="Item ID" type="text-single"><value>item-04621924-15de-417a-865b-7ea5cf1a874d</value></item-id><item label="Item" type="text-multi"><value><item id="item-04621924-15de-417a-865b-7ea5cf1a874d"><test>item-04621924-15de-417a-865b-7ea5cf1a874d</test></item></value></item></result>

2021-02-06 22:01:39 | [Mutex] notify: [retrieved:item:item-04621924-15de-417a-865b-7ea5cf1a874d:payload-matches:true:localhost]

2021-02-06 22:01:39 | [Mutex] received everything.

2021-02-06 22:01:39 | [Mutex] isItemNotified: retrieved:item:item-04621924-15de-417a-865b-7ea5cf1a874d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2021-02-06 22:01:39 |

2021-02-06 22:01:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:01:39 | ------------------------------------

2021-02-06 22:01:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-06 22:01:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81</value><value>node-959f3d30-8894-454d-90b9-9b93cf067939</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-02-06 22:01:39 |

2021-02-06 22:01:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:01:39 | ------------------------------------

2021-02-06 22:01:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81)</node-pattern></data>

2021-02-06 22:01:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.144s
2021-02-06 22:01:37 |

2021-02-06 22:01:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:01:37 | ------------------------------------

2021-02-06 22:01:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-06 22:01:37 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.315s
2021-02-06 22:01:39 |

2021-02-06 22:01:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 22:01:39 | ------------------------------------

2021-02-06 22:01:39 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ccbbdfcc-cce5-4c09-924e-1ada7dcafd81</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-06 22:01:40 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>