Generated by TestNG with ReportNG at 21:47 PST on Sunday 17 January 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 : 10.558s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2021-01-17 22:02:30 |

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

2021-01-17 22:02:30 | ------------------------------------

2021-01-17 22:02:30 | [Mutex] waiting for: [configured:node:node-25de711c-af7d-44df-8ae0-e8cc7efadb6c:node-aa0a38bc-242f-4076-b993-1245236bd487]

2021-01-17 22:02:30 | [Mutex] received everything.

2021-01-17 22:02:30 | [Mutex] isItemNotified: configured:node:node-25de711c-af7d-44df-8ae0-e8cc7efadb6c:node-aa0a38bc-242f-4076-b993-1245236bd487 :: true

2021-01-17 22:02:31 | [Mutex] waiting for: [received:nodes:6513cec0-3ee1-4aea-a0e1-45dd8c20bdcb:localhost]

2021-01-17 22:02:31 | [Mutex] received everything.

2021-01-17 22:02:31 | [Mutex] isItemNotified: received:node:6513cec0-3ee1-4aea-a0e1-45dd8c20bdcb:localhost:node-25de711c-af7d-44df-8ae0-e8cc7efadb6c:Node 25de711c-af7d-44df-8ae0-e8cc7efadb6c :: true

2021-01-17 22:02:31 | [Mutex] waiting for: [received:nodes:d16c6d43-5c51-4b0e-84e5-116b3b9be4b1:localhost]

2021-01-17 22:02:31 | [Mutex] received everything.

2021-01-17 22:02:31 | [Mutex] isItemNotified: received:node:d16c6d43-5c51-4b0e-84e5-116b3b9be4b1:localhost:node-25de711c-af7d-44df-8ae0-e8cc7efadb6c:Node 25de711c-af7d-44df-8ae0-e8cc7efadb6c :: false

createNodes 1.462s
2021-01-17 22:02:27 |

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

2021-01-17 22:02:27 | ------------------------------------

2021-01-17 22:02:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-25de711c-af7d-44df-8ae0-e8cc7efadb6c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 25de711c-af7d-44df-8ae0-e8cc7efadb6c</title></pubsub></data>

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

2021-01-17 22:02:29 | [Mutex] waiting for: [received:nodes:5a0f0896-5a9b-4c75-899b-0c2f59786c7b:localhost]

2021-01-17 22:02:29 | [Mutex] received everything.

2021-01-17 22:02:29 | [Mutex] isItemNotified: received:node:5a0f0896-5a9b-4c75-899b-0c2f59786c7b:localhost:node-25de711c-af7d-44df-8ae0-e8cc7efadb6c:Node 25de711c-af7d-44df-8ae0-e8cc7efadb6c :: true

createSubnodes 1.036s
2021-01-17 22:02:29 |

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

2021-01-17 22:02:29 | ------------------------------------

2021-01-17 22:02:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-aa0a38bc-242f-4076-b993-1245236bd487</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node aa0a38bc-242f-4076-b993-1245236bd487</title></pubsub></data>

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

2021-01-17 22:02:30 | [Mutex] waiting for: [received:nodes:671f2d6f-58a1-47b8-a686-6d6aa8fea243:localhost]

2021-01-17 22:02:30 | [Mutex] received everything.

2021-01-17 22:02:30 | [Mutex] isItemNotified: received:node:671f2d6f-58a1-47b8-a686-6d6aa8fea243:localhost:node-aa0a38bc-242f-4076-b993-1245236bd487:Node aa0a38bc-242f-4076-b993-1245236bd487 :: true

deleteNodes 1.023s
2021-01-17 22:02:36 |

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

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

2021-01-17 22:02:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-aa0a38bc-242f-4076-b993-1245236bd487</node></data>

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

2021-01-17 22:02:37 | [Mutex] waiting for: [received:nodes:9f5d0575-044b-4f4d-b4e3-31bdf8f21289:localhost]

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

2021-01-17 22:02:37 | [Mutex] isItemNotified: received:node:9f5d0575-044b-4f4d-b4e3-31bdf8f21289:localhost:node-aa0a38bc-242f-4076-b993-1245236bd487:Node aa0a38bc-242f-4076-b993-1245236bd487 :: false

deleteSubnodes 1.143s
2021-01-17 22:02:35 |

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

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

2021-01-17 22:02:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-25de711c-af7d-44df-8ae0-e8cc7efadb6c</node></data>

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

2021-01-17 22:02:36 | [Mutex] waiting for: [received:nodes:ca987c52-9a48-4e12-88f0-dad9e01557b7:localhost]

2021-01-17 22:02:36 | [Mutex] waiting for: [received:nodes:ca987c52-9a48-4e12-88f0-dad9e01557b7:localhost]

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

2021-01-17 22:02:36 | [Mutex] isItemNotified: received:node:ca987c52-9a48-4e12-88f0-dad9e01557b7:localhost:node-25de711c-af7d-44df-8ae0-e8cc7efadb6c:Node 25de711c-af7d-44df-8ae0-e8cc7efadb6c :: false

2021-01-17 22:02:36 | [Mutex] waiting for: [received:nodes:7f6f1cd1-aa9d-49e4-a64c-5ad36a4d7762:localhost]

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

2021-01-17 22:02:36 | [Mutex] isItemNotified: received:node:7f6f1cd1-aa9d-49e4-a64c-5ad36a4d7762:localhost:node-25de711c-af7d-44df-8ae0-e8cc7efadb6c:Node 25de711c-af7d-44df-8ae0-e8cc7efadb6c :: false

publishItemsToNodes 0.273s
2021-01-17 22:02:32 |

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

2021-01-17 22:02:32 | ------------------------------------

2021-01-17 22:02:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-25de711c-af7d-44df-8ae0-e8cc7efadb6c</node><item-id>item-034bfcce-11c3-4a81-b984-daa659f462a1</item-id><entry><test>item-034bfcce-11c3-4a81-b984-daa659f462a1</test></entry></data>

2021-01-17 22:02:32 | 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-034bfcce-11c3-4a81-b984-daa659f462a1</value></item-id></result>

2021-01-17 22:02:32 | [Mutex] waiting for: [published:item:notifieditem-034bfcce-11c3-4a81-b984-daa659f462a1:admin@test-domain.com]

2021-01-17 22:02:32 | [Mutex] received everything.

2021-01-17 22:02:32 | [Mutex] isItemNotified: published:item:notifieditem-034bfcce-11c3-4a81-b984-daa659f462a1:admin@test-domain.com :: true

retractItemsFromNodes 0.487s
2021-01-17 22:02:33 |

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

2021-01-17 22:02:33 | ------------------------------------

2021-01-17 22:02:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-25de711c-af7d-44df-8ae0-e8cc7efadb6c</node><item-id>item-034bfcce-11c3-4a81-b984-daa659f462a1</item-id></data>

2021-01-17 22:02:33 | 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-034bfcce-11c3-4a81-b984-daa659f462a1</value></item-id></result>

2021-01-17 22:02:33 | [Mutex] received everything.

2021-01-17 22:02:33 | [Mutex] isItemNotified: retracted:item:notifieditem-034bfcce-11c3-4a81-b984-daa659f462a1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.335s
2021-01-17 22:02:32 |

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

2021-01-17 22:02:32 | ------------------------------------

2021-01-17 22:02:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-25de711c-af7d-44df-8ae0-e8cc7efadb6c</node><item-id>item-034bfcce-11c3-4a81-b984-daa659f462a1</item-id></data>

2021-01-17 22:02:33 | 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-25de711c-af7d-44df-8ae0-e8cc7efadb6c</value></node><item-id label="Item ID" type="text-single"><value>item-034bfcce-11c3-4a81-b984-daa659f462a1</value></item-id><item label="Item" type="text-multi"><value><item id="item-034bfcce-11c3-4a81-b984-daa659f462a1"><test>item-034bfcce-11c3-4a81-b984-daa659f462a1</test></item></value></item></result>

2021-01-17 22:02:33 | [Mutex] notify: [retrieved:item:item-034bfcce-11c3-4a81-b984-daa659f462a1:payload-matches:true:localhost]

2021-01-17 22:02:33 | [Mutex] received everything.

2021-01-17 22:02:33 | [Mutex] isItemNotified: retrieved:item:item-034bfcce-11c3-4a81-b984-daa659f462a1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.059s
2021-01-17 22:02:33 |

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

2021-01-17 22:02:33 | ------------------------------------

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

2021-01-17 22:02:33 | 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-aa0a38bc-242f-4076-b993-1245236bd487</value><value>node-25de711c-af7d-44df-8ae0-e8cc7efadb6c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.065s
2021-01-17 22:02:33 |

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

2021-01-17 22:02:33 | ------------------------------------

2021-01-17 22:02:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-25de711c-af7d-44df-8ae0-e8cc7efadb6c)</node-pattern></data>

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

subscribeNodes 1.124s
2021-01-17 22:02:31 |

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

2021-01-17 22:02:31 | ------------------------------------

2021-01-17 22:02:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-25de711c-af7d-44df-8ae0-e8cc7efadb6c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.387s
2021-01-17 22:02:33 |

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

2021-01-17 22:02:33 | ------------------------------------

2021-01-17 22:02:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-25de711c-af7d-44df-8ae0-e8cc7efadb6c</node><jids><value>admin@test-domain.com</value></jids></data>

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