Generated by TestNG with ReportNG at 22:58 PDT on Wednesday 16 September 2020
root@3bfba8b1ef0d / 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 : 10.138s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2020-09-16 23:15:33 |

2020-09-16 23:15:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:15:33 | ------------------------------------

2020-09-16 23:15:33 | [Mutex] waiting for: [configured:node:node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b:node-e9616e59-2a27-4551-aaec-87dae9fd1cc6]

2020-09-16 23:15:33 | [Mutex] received everything.

2020-09-16 23:15:33 | [Mutex] isItemNotified: configured:node:node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b:node-e9616e59-2a27-4551-aaec-87dae9fd1cc6 :: true

2020-09-16 23:15:34 | [Mutex] waiting for: [received:nodes:898d94f2-d8db-41c2-b501-fb9f1a0fd859:localhost]

2020-09-16 23:15:34 | [Mutex] waiting for: [received:nodes:898d94f2-d8db-41c2-b501-fb9f1a0fd859:localhost]

2020-09-16 23:15:34 | [Mutex] received everything.

2020-09-16 23:15:34 | [Mutex] isItemNotified: received:node:898d94f2-d8db-41c2-b501-fb9f1a0fd859:localhost:node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b:Node 9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b :: true

2020-09-16 23:15:34 | [Mutex] waiting for: [received:nodes:6c559c7c-521f-4765-840f-bd8af3bc9be9:localhost]

2020-09-16 23:15:34 | [Mutex] waiting for: [received:nodes:6c559c7c-521f-4765-840f-bd8af3bc9be9:localhost]

2020-09-16 23:15:34 | [Mutex] waiting for: [received:nodes:6c559c7c-521f-4765-840f-bd8af3bc9be9:localhost]

2020-09-16 23:15:34 | [Mutex] waiting for: [received:nodes:6c559c7c-521f-4765-840f-bd8af3bc9be9:localhost]

2020-09-16 23:15:34 | [Mutex] received everything.

2020-09-16 23:15:34 | [Mutex] isItemNotified: received:node:6c559c7c-521f-4765-840f-bd8af3bc9be9:localhost:node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b:Node 9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b :: false

createNodes 1.501s
2020-09-16 23:15:30 |

2020-09-16 23:15:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:15:30 | ------------------------------------

2020-09-16 23:15:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b</title></pubsub></data>

2020-09-16 23:15:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-16 23:15:32 | [Mutex] waiting for: [received:nodes:7c859dd2-1196-4247-9a99-2ce7160127f6:localhost]

2020-09-16 23:15:32 | [Mutex] received everything.

2020-09-16 23:15:32 | [Mutex] isItemNotified: received:node:7c859dd2-1196-4247-9a99-2ce7160127f6:localhost:node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b:Node 9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b :: true

createSubnodes 1.032s
2020-09-16 23:15:32 |

2020-09-16 23:15:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:15:32 | ------------------------------------

2020-09-16 23:15:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e9616e59-2a27-4551-aaec-87dae9fd1cc6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e9616e59-2a27-4551-aaec-87dae9fd1cc6</title></pubsub></data>

2020-09-16 23:15:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-16 23:15:33 | [Mutex] waiting for: [received:nodes:e10b7499-73bc-43c6-ad14-c036a7ee9cff:localhost]

2020-09-16 23:15:33 | [Mutex] waiting for: [received:nodes:e10b7499-73bc-43c6-ad14-c036a7ee9cff:localhost]

2020-09-16 23:15:33 | [Mutex] received everything.

2020-09-16 23:15:33 | [Mutex] isItemNotified: received:node:e10b7499-73bc-43c6-ad14-c036a7ee9cff:localhost:node-e9616e59-2a27-4551-aaec-87dae9fd1cc6:Node e9616e59-2a27-4551-aaec-87dae9fd1cc6 :: true

deleteNodes 1.017s
2020-09-16 23:15:38 |

2020-09-16 23:15:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:15:38 | ------------------------------------

2020-09-16 23:15:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e9616e59-2a27-4551-aaec-87dae9fd1cc6</node></data>

2020-09-16 23:15:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-16 23:15:39 | [Mutex] waiting for: [received:nodes:26c62d71-7d74-4d76-ab80-80464d0b25ae:localhost]

2020-09-16 23:15:39 | [Mutex] received everything.

2020-09-16 23:15:39 | [Mutex] isItemNotified: received:node:26c62d71-7d74-4d76-ab80-80464d0b25ae:localhost:node-e9616e59-2a27-4551-aaec-87dae9fd1cc6:Node e9616e59-2a27-4551-aaec-87dae9fd1cc6 :: false

deleteSubnodes 1.105s
2020-09-16 23:15:37 |

2020-09-16 23:15:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:15:37 | ------------------------------------

2020-09-16 23:15:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b</node></data>

2020-09-16 23:15:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-16 23:15:38 | [Mutex] waiting for: [received:nodes:5250921a-5b30-423d-a349-201dc75015ae:localhost]

2020-09-16 23:15:38 | [Mutex] received everything.

2020-09-16 23:15:38 | [Mutex] isItemNotified: received:node:5250921a-5b30-423d-a349-201dc75015ae:localhost:node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b:Node 9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b :: false

2020-09-16 23:15:38 | [Mutex] waiting for: [received:nodes:0c4348ca-b5c0-4b08-86cf-ef3ac747485c:localhost]

2020-09-16 23:15:38 | [Mutex] received everything.

2020-09-16 23:15:38 | [Mutex] isItemNotified: received:node:0c4348ca-b5c0-4b08-86cf-ef3ac747485c:localhost:node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b:Node 9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b :: false

publishItemsToNodes 0.170s
2020-09-16 23:15:35 |

2020-09-16 23:15:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:15:35 | ------------------------------------

2020-09-16 23:15:35 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b</node><item-id>item-315096f4-1c79-4bdf-bf90-c1d5d5c3904f</item-id><entry><test>item-315096f4-1c79-4bdf-bf90-c1d5d5c3904f</test></entry></data>

2020-09-16 23:15:35 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-315096f4-1c79-4bdf-bf90-c1d5d5c3904f</value></item-id></result>

2020-09-16 23:15:35 | [Mutex] received everything.

2020-09-16 23:15:35 | [Mutex] isItemNotified: published:item:notifieditem-315096f4-1c79-4bdf-bf90-c1d5d5c3904f:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2020-09-16 23:15:36 |

2020-09-16 23:15:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:15:36 | ------------------------------------

2020-09-16 23:15:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b</node><item-id>item-315096f4-1c79-4bdf-bf90-c1d5d5c3904f</item-id></data>

2020-09-16 23:15:36 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-315096f4-1c79-4bdf-bf90-c1d5d5c3904f</value></item-id></result>

2020-09-16 23:15:36 | [Mutex] received everything.

2020-09-16 23:15:36 | [Mutex] isItemNotified: retracted:item:notifieditem-315096f4-1c79-4bdf-bf90-c1d5d5c3904f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.243s
2020-09-16 23:15:35 |

2020-09-16 23:15:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:15:35 | ------------------------------------

2020-09-16 23:15:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b</node><item-id>item-315096f4-1c79-4bdf-bf90-c1d5d5c3904f</item-id></data>

2020-09-16 23:15:36 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b</value></node><item-id type="text-single" label="Item ID"><value>item-315096f4-1c79-4bdf-bf90-c1d5d5c3904f</value></item-id><item type="text-multi" label="Item"><value><item id="item-315096f4-1c79-4bdf-bf90-c1d5d5c3904f"><test>item-315096f4-1c79-4bdf-bf90-c1d5d5c3904f</test></item></value></item></result>

2020-09-16 23:15:36 | [Mutex] notify: [retrieved:item:item-315096f4-1c79-4bdf-bf90-c1d5d5c3904f:payload-matches:true:localhost]

2020-09-16 23:15:36 | [Mutex] received everything.

2020-09-16 23:15:36 | [Mutex] isItemNotified: retrieved:item:item-315096f4-1c79-4bdf-bf90-c1d5d5c3904f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-16 23:15:36 |

2020-09-16 23:15:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:15:36 | ------------------------------------

2020-09-16 23:15:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-16 23:15:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-e9616e59-2a27-4551-aaec-87dae9fd1cc6</value><value>node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2020-09-16 23:15:36 |

2020-09-16 23:15:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:15:36 | ------------------------------------

2020-09-16 23:15:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b)</node-pattern></data>

2020-09-16 23:15:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.152s
2020-09-16 23:15:34 |

2020-09-16 23:15:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:15:34 | ------------------------------------

2020-09-16 23:15:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-16 23:15:34 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.303s
2020-09-16 23:15:36 |

2020-09-16 23:15:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-16 23:15:36 | ------------------------------------

2020-09-16 23:15:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9f2bb7bf-4d9e-4ecb-b2d0-325c2aa5971b</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-16 23:15:36 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>