Generated by TestNG with ReportNG at 22:28 PDT on Wednesday 26 May 2021
root@f29ef40080b5 / 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.806s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2021-05-26 22:43:41 |

2021-05-26 22:43:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:43:41 | ------------------------------------

2021-05-26 22:43:41 | [Mutex] waiting for: [configured:node:node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5:node-ada32c59-1b9e-44e7-9f35-dd17be5075e9]

2021-05-26 22:43:42 | [Mutex] received everything.

2021-05-26 22:43:42 | [Mutex] isItemNotified: configured:node:node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5:node-ada32c59-1b9e-44e7-9f35-dd17be5075e9 :: true

2021-05-26 22:43:43 | [Mutex] waiting for: [received:nodes:f5e85f2f-3e57-425b-8afd-4415a53fde6a:localhost]

2021-05-26 22:43:43 | [Mutex] received everything.

2021-05-26 22:43:43 | [Mutex] isItemNotified: received:node:f5e85f2f-3e57-425b-8afd-4415a53fde6a:localhost:node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5:Node 4618f95e-a3cc-4d4c-9ba9-07b07f5736b5 :: true

2021-05-26 22:43:43 | [Mutex] waiting for: [received:nodes:78ef6aba-7950-41b0-a8e3-b2debb9cd4c3:localhost]

2021-05-26 22:43:43 | [Mutex] received everything.

2021-05-26 22:43:43 | [Mutex] isItemNotified: received:node:78ef6aba-7950-41b0-a8e3-b2debb9cd4c3:localhost:node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5:Node 4618f95e-a3cc-4d4c-9ba9-07b07f5736b5 :: false

createNodes 1.443s
2021-05-26 22:43:39 |

2021-05-26 22:43:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:43:39 | ------------------------------------

2021-05-26 22:43:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4618f95e-a3cc-4d4c-9ba9-07b07f5736b5</title></pubsub></data>

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

2021-05-26 22:43:40 | [Mutex] waiting for: [received:nodes:fbf2291a-08c4-4e55-9fa2-eacd3d8ef917:localhost]

2021-05-26 22:43:40 | [Mutex] received everything.

2021-05-26 22:43:40 | [Mutex] isItemNotified: received:node:fbf2291a-08c4-4e55-9fa2-eacd3d8ef917:localhost:node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5:Node 4618f95e-a3cc-4d4c-9ba9-07b07f5736b5 :: true

createSubnodes 1.030s
2021-05-26 22:43:40 |

2021-05-26 22:43:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:43:40 | ------------------------------------

2021-05-26 22:43:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ada32c59-1b9e-44e7-9f35-dd17be5075e9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ada32c59-1b9e-44e7-9f35-dd17be5075e9</title></pubsub></data>

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

2021-05-26 22:43:41 | [Mutex] waiting for: [received:nodes:6c423d2b-89bc-4ee4-b6b8-a8e2c29a9f7a:localhost]

2021-05-26 22:43:41 | [Mutex] received everything.

2021-05-26 22:43:41 | [Mutex] isItemNotified: received:node:6c423d2b-89bc-4ee4-b6b8-a8e2c29a9f7a:localhost:node-ada32c59-1b9e-44e7-9f35-dd17be5075e9:Node ada32c59-1b9e-44e7-9f35-dd17be5075e9 :: true

deleteNodes 1.022s
2021-05-26 22:43:47 |

2021-05-26 22:43:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:43:47 | ------------------------------------

2021-05-26 22:43:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ada32c59-1b9e-44e7-9f35-dd17be5075e9</node></data>

2021-05-26 22:43:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-26 22:43:48 | [Mutex] waiting for: [received:nodes:9b38bf0c-fedf-42fb-aed7-ac45427f6491:localhost]

2021-05-26 22:43:48 | [Mutex] waiting for: [received:nodes:9b38bf0c-fedf-42fb-aed7-ac45427f6491:localhost]

2021-05-26 22:43:48 | [Mutex] received everything.

2021-05-26 22:43:48 | [Mutex] isItemNotified: received:node:9b38bf0c-fedf-42fb-aed7-ac45427f6491:localhost:node-ada32c59-1b9e-44e7-9f35-dd17be5075e9:Node ada32c59-1b9e-44e7-9f35-dd17be5075e9 :: false

deleteSubnodes 1.118s
2021-05-26 22:43:46 |

2021-05-26 22:43:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:43:46 | ------------------------------------

2021-05-26 22:43:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5</node></data>

2021-05-26 22:43:46 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-26 22:43:47 | [Mutex] waiting for: [received:nodes:da1da2cf-b3d4-4160-872e-6163655270f8:localhost]

2021-05-26 22:43:47 | [Mutex] received everything.

2021-05-26 22:43:47 | [Mutex] isItemNotified: received:node:da1da2cf-b3d4-4160-872e-6163655270f8:localhost:node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5:Node 4618f95e-a3cc-4d4c-9ba9-07b07f5736b5 :: false

2021-05-26 22:43:47 | [Mutex] waiting for: [received:nodes:0781504d-764f-4291-b63f-8368a0239319:localhost]

2021-05-26 22:43:47 | [Mutex] received everything.

2021-05-26 22:43:47 | [Mutex] isItemNotified: received:node:0781504d-764f-4291-b63f-8368a0239319:localhost:node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5:Node 4618f95e-a3cc-4d4c-9ba9-07b07f5736b5 :: false

publishItemsToNodes 0.219s
2021-05-26 22:43:44 |

2021-05-26 22:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:43:44 | ------------------------------------

2021-05-26 22:43:44 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5</node><item-id>item-a2fcb109-1702-4de2-8e06-852b192be569</item-id><entry><test>item-a2fcb109-1702-4de2-8e06-852b192be569</test></entry></data>

2021-05-26 22:43:44 | 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-a2fcb109-1702-4de2-8e06-852b192be569</value></item-id></result>

2021-05-26 22:43:44 | [Mutex] waiting for: [published:item:notifieditem-a2fcb109-1702-4de2-8e06-852b192be569:admin@test-domain.com]

2021-05-26 22:43:44 | [Mutex] received everything.

2021-05-26 22:43:44 | [Mutex] isItemNotified: published:item:notifieditem-a2fcb109-1702-4de2-8e06-852b192be569:admin@test-domain.com :: true

retractItemsFromNodes 0.236s
2021-05-26 22:43:44 |

2021-05-26 22:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:43:44 | ------------------------------------

2021-05-26 22:43:44 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5</node><item-id>item-a2fcb109-1702-4de2-8e06-852b192be569</item-id></data>

2021-05-26 22:43:45 | 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-a2fcb109-1702-4de2-8e06-852b192be569</value></item-id></result>

2021-05-26 22:43:45 | [Mutex] waiting for: [retracted:item:notifieditem-a2fcb109-1702-4de2-8e06-852b192be569:admin@test-domain.com]

2021-05-26 22:43:45 | [Mutex] received everything.

2021-05-26 22:43:45 | [Mutex] isItemNotified: retracted:item:notifieditem-a2fcb109-1702-4de2-8e06-852b192be569:admin@test-domain.com :: true

retrieveItemsFromNodes 0.273s
2021-05-26 22:43:44 |

2021-05-26 22:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:43:44 | ------------------------------------

2021-05-26 22:43:44 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5</node><item-id>item-a2fcb109-1702-4de2-8e06-852b192be569</item-id></data>

2021-05-26 22:43:44 | 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-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5</value></node><item-id type="text-single" label="Item ID"><value>item-a2fcb109-1702-4de2-8e06-852b192be569</value></item-id><item type="text-multi" label="Item"><value><item id="item-a2fcb109-1702-4de2-8e06-852b192be569"><test>item-a2fcb109-1702-4de2-8e06-852b192be569</test></item></value></item></result>

2021-05-26 22:43:44 | [Mutex] notify: [retrieved:item:item-a2fcb109-1702-4de2-8e06-852b192be569:payload-matches:true:localhost]

2021-05-26 22:43:44 | [Mutex] received everything.

2021-05-26 22:43:44 | [Mutex] isItemNotified: retrieved:item:item-a2fcb109-1702-4de2-8e06-852b192be569:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-26 22:43:44 |

2021-05-26 22:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:43:44 | ------------------------------------

2021-05-26 22:43:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-26 22:43:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-ada32c59-1b9e-44e7-9f35-dd17be5075e9</value><value>test</value><value>node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-05-26 22:43:44 |

2021-05-26 22:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:43:44 | ------------------------------------

2021-05-26 22:43:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5)</node-pattern></data>

2021-05-26 22:43:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.194s
2021-05-26 22:43:43 |

2021-05-26 22:43:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:43:43 | ------------------------------------

2021-05-26 22:43:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.187s
2021-05-26 22:43:45 |

2021-05-26 22:43:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-26 22:43:45 | ------------------------------------

2021-05-26 22:43:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4618f95e-a3cc-4d4c-9ba9-07b07f5736b5</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-26 22:43:45 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>