Generated by TestNG with ReportNG at 21:50 PST on Monday 30 November 2020
root@43fec6d4badf / 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.152s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2020-11-30 22:05:24 |

2020-11-30 22:05:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:05:24 | ------------------------------------

2020-11-30 22:05:24 | [Mutex] waiting for: [configured:node:node-17e6992a-3464-48cb-b369-397587b8dceb:node-ca6c62f1-bdaf-4255-a6d8-d00c857f5060]

2020-11-30 22:05:24 | [Mutex] received everything.

2020-11-30 22:05:24 | [Mutex] isItemNotified: configured:node:node-17e6992a-3464-48cb-b369-397587b8dceb:node-ca6c62f1-bdaf-4255-a6d8-d00c857f5060 :: true

2020-11-30 22:05:25 | [Mutex] waiting for: [received:nodes:0ef8767a-7034-4021-a483-75f7c21ec20b:localhost]

2020-11-30 22:05:25 | [Mutex] received everything.

2020-11-30 22:05:25 | [Mutex] isItemNotified: received:node:0ef8767a-7034-4021-a483-75f7c21ec20b:localhost:node-17e6992a-3464-48cb-b369-397587b8dceb:Node 17e6992a-3464-48cb-b369-397587b8dceb :: true

2020-11-30 22:05:25 | [Mutex] waiting for: [received:nodes:74c02d41-b4d3-423b-bfcf-939d94ed6a5f:localhost]

2020-11-30 22:05:25 | [Mutex] received everything.

2020-11-30 22:05:25 | [Mutex] isItemNotified: received:node:74c02d41-b4d3-423b-bfcf-939d94ed6a5f:localhost:node-17e6992a-3464-48cb-b369-397587b8dceb:Node 17e6992a-3464-48cb-b369-397587b8dceb :: false

createNodes 1.409s
2020-11-30 22:05:21 |

2020-11-30 22:05:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:05:21 | ------------------------------------

2020-11-30 22:05:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-17e6992a-3464-48cb-b369-397587b8dceb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 17e6992a-3464-48cb-b369-397587b8dceb</title></pubsub></data>

2020-11-30 22:05:22 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-30 22:05:23 | [Mutex] waiting for: [received:nodes:4a1f7ff9-e367-4055-807a-bdea1a69c5e8:localhost]

2020-11-30 22:05:23 | [Mutex] received everything.

2020-11-30 22:05:23 | [Mutex] isItemNotified: received:node:4a1f7ff9-e367-4055-807a-bdea1a69c5e8:localhost:node-17e6992a-3464-48cb-b369-397587b8dceb:Node 17e6992a-3464-48cb-b369-397587b8dceb :: true

createSubnodes 1.026s
2020-11-30 22:05:23 |

2020-11-30 22:05:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:05:23 | ------------------------------------

2020-11-30 22:05:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ca6c62f1-bdaf-4255-a6d8-d00c857f5060</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ca6c62f1-bdaf-4255-a6d8-d00c857f5060</title></pubsub></data>

2020-11-30 22:05:23 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-30 22:05:24 | [Mutex] waiting for: [received:nodes:f0c1b049-34b4-40d1-90c2-7d47e8f2a638:localhost]

2020-11-30 22:05:24 | [Mutex] received everything.

2020-11-30 22:05:24 | [Mutex] isItemNotified: received:node:f0c1b049-34b4-40d1-90c2-7d47e8f2a638:localhost:node-ca6c62f1-bdaf-4255-a6d8-d00c857f5060:Node ca6c62f1-bdaf-4255-a6d8-d00c857f5060 :: true

deleteNodes 1.040s
2020-11-30 22:05:29 |

2020-11-30 22:05:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:05:29 | ------------------------------------

2020-11-30 22:05:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ca6c62f1-bdaf-4255-a6d8-d00c857f5060</node></data>

2020-11-30 22:05:29 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-30 22:05:30 | [Mutex] waiting for: [received:nodes:1b443634-a928-46dd-a347-78e60ebb0aa3:localhost]

2020-11-30 22:05:30 | [Mutex] received everything.

2020-11-30 22:05:30 | [Mutex] isItemNotified: received:node:1b443634-a928-46dd-a347-78e60ebb0aa3:localhost:node-ca6c62f1-bdaf-4255-a6d8-d00c857f5060:Node ca6c62f1-bdaf-4255-a6d8-d00c857f5060 :: false

deleteSubnodes 1.125s
2020-11-30 22:05:28 |

2020-11-30 22:05:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:05:28 | ------------------------------------

2020-11-30 22:05:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-17e6992a-3464-48cb-b369-397587b8dceb</node></data>

2020-11-30 22:05:28 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-30 22:05:29 | [Mutex] waiting for: [received:nodes:9e1ac535-81c9-41ec-bf43-57fc47d0c5bc:localhost]

2020-11-30 22:05:29 | [Mutex] waiting for: [received:nodes:9e1ac535-81c9-41ec-bf43-57fc47d0c5bc:localhost]

2020-11-30 22:05:29 | [Mutex] received everything.

2020-11-30 22:05:29 | [Mutex] isItemNotified: received:node:9e1ac535-81c9-41ec-bf43-57fc47d0c5bc:localhost:node-17e6992a-3464-48cb-b369-397587b8dceb:Node 17e6992a-3464-48cb-b369-397587b8dceb :: false

2020-11-30 22:05:29 | [Mutex] waiting for: [received:nodes:deba925d-0e19-4757-a0b0-69bbd7fc3a72:localhost]

2020-11-30 22:05:29 | [Mutex] received everything.

2020-11-30 22:05:29 | [Mutex] isItemNotified: received:node:deba925d-0e19-4757-a0b0-69bbd7fc3a72:localhost:node-17e6992a-3464-48cb-b369-397587b8dceb:Node 17e6992a-3464-48cb-b369-397587b8dceb :: false

publishItemsToNodes 0.343s
2020-11-30 22:05:26 |

2020-11-30 22:05:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:05:26 | ------------------------------------

2020-11-30 22:05:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-17e6992a-3464-48cb-b369-397587b8dceb</node><item-id>item-5145d829-fb4d-434a-abbf-91565c20a47e</item-id><entry><test>item-5145d829-fb4d-434a-abbf-91565c20a47e</test></entry></data>

2020-11-30 22:05:26 | 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-5145d829-fb4d-434a-abbf-91565c20a47e</value></item-id></result>

2020-11-30 22:05:26 | [Mutex] waiting for: [published:item:notifieditem-5145d829-fb4d-434a-abbf-91565c20a47e:admin@test-domain.com]

2020-11-30 22:05:26 | [Mutex] received everything.

2020-11-30 22:05:26 | [Mutex] isItemNotified: published:item:notifieditem-5145d829-fb4d-434a-abbf-91565c20a47e:admin@test-domain.com :: true

retractItemsFromNodes 0.339s
2020-11-30 22:05:27 |

2020-11-30 22:05:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:05:27 | ------------------------------------

2020-11-30 22:05:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-17e6992a-3464-48cb-b369-397587b8dceb</node><item-id>item-5145d829-fb4d-434a-abbf-91565c20a47e</item-id></data>

2020-11-30 22:05:27 | 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-5145d829-fb4d-434a-abbf-91565c20a47e</value></item-id></result>

2020-11-30 22:05:27 | [Mutex] received everything.

2020-11-30 22:05:27 | [Mutex] isItemNotified: retracted:item:notifieditem-5145d829-fb4d-434a-abbf-91565c20a47e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.251s
2020-11-30 22:05:26 |

2020-11-30 22:05:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:05:26 | ------------------------------------

2020-11-30 22:05:26 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-17e6992a-3464-48cb-b369-397587b8dceb</node><item-id>item-5145d829-fb4d-434a-abbf-91565c20a47e</item-id></data>

2020-11-30 22:05:27 | 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-17e6992a-3464-48cb-b369-397587b8dceb</value></node><item-id type="text-single" label="Item ID"><value>item-5145d829-fb4d-434a-abbf-91565c20a47e</value></item-id><item type="text-multi" label="Item"><value><item id="item-5145d829-fb4d-434a-abbf-91565c20a47e"><test>item-5145d829-fb4d-434a-abbf-91565c20a47e</test></item></value></item></result>

2020-11-30 22:05:27 | [Mutex] notify: [retrieved:item:item-5145d829-fb4d-434a-abbf-91565c20a47e:payload-matches:true:localhost]

2020-11-30 22:05:27 | [Mutex] received everything.

2020-11-30 22:05:27 | [Mutex] isItemNotified: retrieved:item:item-5145d829-fb4d-434a-abbf-91565c20a47e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-11-30 22:05:27 |

2020-11-30 22:05:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:05:27 | ------------------------------------

2020-11-30 22:05:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-30 22:05:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-17e6992a-3464-48cb-b369-397587b8dceb</value><value>test</value><value>node-ca6c62f1-bdaf-4255-a6d8-d00c857f5060</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-11-30 22:05:27 |

2020-11-30 22:05:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:05:27 | ------------------------------------

2020-11-30 22:05:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-17e6992a-3464-48cb-b369-397587b8dceb)</node-pattern></data>

2020-11-30 22:05:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.130s
2020-11-30 22:05:25 |

2020-11-30 22:05:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:05:25 | ------------------------------------

2020-11-30 22:05:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-17e6992a-3464-48cb-b369-397587b8dceb</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-30 22:05:25 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.355s
2020-11-30 22:05:27 |

2020-11-30 22:05:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-30 22:05:27 | ------------------------------------

2020-11-30 22:05:27 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-17e6992a-3464-48cb-b369-397587b8dceb</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-30 22:05:27 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>