Generated by TestNG with ReportNG at 22:07 PST on Thursday 03 February 2022
root@785cf647a4ab / 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.464s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.130s
2022-02-03 22:22:51 |

2022-02-03 22:22:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 22:22:51 | ------------------------------------

2022-02-03 22:22:51 | [Mutex] waiting for: [configured:node:node-7e310e56-3595-4913-b9a7-6722699e109e:node-25740589-6180-4fe6-80b9-646b0215800e]

2022-02-03 22:22:51 | [Mutex] received everything.

2022-02-03 22:22:51 | [Mutex] isItemNotified: configured:node:node-7e310e56-3595-4913-b9a7-6722699e109e:node-25740589-6180-4fe6-80b9-646b0215800e :: true

2022-02-03 22:22:52 | [Mutex] waiting for: [received:nodes:0e07f802-f78f-411f-98e3-d556893061c3:localhost]

2022-02-03 22:22:52 | [Mutex] waiting for: [received:nodes:0e07f802-f78f-411f-98e3-d556893061c3:localhost]

2022-02-03 22:22:52 | [Mutex] received everything.

2022-02-03 22:22:52 | [Mutex] isItemNotified: received:node:0e07f802-f78f-411f-98e3-d556893061c3:localhost:node-7e310e56-3595-4913-b9a7-6722699e109e:Node 7e310e56-3595-4913-b9a7-6722699e109e :: true

2022-02-03 22:22:52 | [Mutex] waiting for: [received:nodes:04c3680a-6e99-4115-8d97-a3e1248a1473:localhost]

2022-02-03 22:22:52 | [Mutex] waiting for: [received:nodes:04c3680a-6e99-4115-8d97-a3e1248a1473:localhost]

2022-02-03 22:22:52 | [Mutex] waiting for: [received:nodes:04c3680a-6e99-4115-8d97-a3e1248a1473:localhost]

2022-02-03 22:22:52 | [Mutex] received everything.

2022-02-03 22:22:52 | [Mutex] isItemNotified: received:node:04c3680a-6e99-4115-8d97-a3e1248a1473:localhost:node-7e310e56-3595-4913-b9a7-6722699e109e:Node 7e310e56-3595-4913-b9a7-6722699e109e :: false

createNodes 1.519s
2022-02-03 22:22:49 |

2022-02-03 22:22:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 22:22:49 | ------------------------------------

2022-02-03 22:22:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7e310e56-3595-4913-b9a7-6722699e109e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7e310e56-3595-4913-b9a7-6722699e109e</title></pubsub></data>

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

2022-02-03 22:22:50 | [Mutex] waiting for: [received:nodes:840dbe3b-3cff-4a5a-bc38-113e8733c9c8:localhost]

2022-02-03 22:22:50 | [Mutex] received everything.

2022-02-03 22:22:50 | [Mutex] isItemNotified: received:node:840dbe3b-3cff-4a5a-bc38-113e8733c9c8:localhost:node-7e310e56-3595-4913-b9a7-6722699e109e:Node 7e310e56-3595-4913-b9a7-6722699e109e :: true

createSubnodes 1.026s
2022-02-03 22:22:50 |

2022-02-03 22:22:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 22:22:50 | ------------------------------------

2022-02-03 22:22:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-25740589-6180-4fe6-80b9-646b0215800e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 25740589-6180-4fe6-80b9-646b0215800e</title></pubsub></data>

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

2022-02-03 22:22:51 | [Mutex] waiting for: [received:nodes:c350a0d7-43a4-4a08-a3d0-ef50a8e7daf5:localhost]

2022-02-03 22:22:51 | [Mutex] received everything.

2022-02-03 22:22:51 | [Mutex] isItemNotified: received:node:c350a0d7-43a4-4a08-a3d0-ef50a8e7daf5:localhost:node-25740589-6180-4fe6-80b9-646b0215800e:Node 25740589-6180-4fe6-80b9-646b0215800e :: true

deleteNodes 1.018s
2022-02-03 22:22:57 |

2022-02-03 22:22:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 22:22:57 | ------------------------------------

2022-02-03 22:22:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-25740589-6180-4fe6-80b9-646b0215800e</node></data>

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

2022-02-03 22:22:58 | [Mutex] waiting for: [received:nodes:6b8d5c20-ece3-430b-975b-0c03118e5523:localhost]

2022-02-03 22:22:58 | [Mutex] received everything.

2022-02-03 22:22:58 | [Mutex] isItemNotified: received:node:6b8d5c20-ece3-430b-975b-0c03118e5523:localhost:node-25740589-6180-4fe6-80b9-646b0215800e:Node 25740589-6180-4fe6-80b9-646b0215800e :: false

deleteSubnodes 1.177s
2022-02-03 22:22:56 |

2022-02-03 22:22:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 22:22:56 | ------------------------------------

2022-02-03 22:22:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7e310e56-3595-4913-b9a7-6722699e109e</node></data>

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

2022-02-03 22:22:57 | [Mutex] waiting for: [received:nodes:3064c2c6-bcdb-4906-aa3d-ba2cbc5c8df6:localhost]

2022-02-03 22:22:57 | [Mutex] received everything.

2022-02-03 22:22:57 | [Mutex] isItemNotified: received:node:3064c2c6-bcdb-4906-aa3d-ba2cbc5c8df6:localhost:node-7e310e56-3595-4913-b9a7-6722699e109e:Node 7e310e56-3595-4913-b9a7-6722699e109e :: false

2022-02-03 22:22:57 | [Mutex] waiting for: [received:nodes:c2749d5e-26df-4cd8-80b4-5c0661b33ba5:localhost]

2022-02-03 22:22:57 | [Mutex] received everything.

2022-02-03 22:22:57 | [Mutex] isItemNotified: received:node:c2749d5e-26df-4cd8-80b4-5c0661b33ba5:localhost:node-7e310e56-3595-4913-b9a7-6722699e109e:Node 7e310e56-3595-4913-b9a7-6722699e109e :: false

publishItemsToNodes 0.304s
2022-02-03 22:22:53 |

2022-02-03 22:22:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 22:22:53 | ------------------------------------

2022-02-03 22:22:53 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7e310e56-3595-4913-b9a7-6722699e109e</node><item-id>item-8bb4f26e-a0b7-4064-9a86-f5ef26c35884</item-id><entry><test>item-8bb4f26e-a0b7-4064-9a86-f5ef26c35884</test></entry></data>

2022-02-03 22:22:54 | 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-8bb4f26e-a0b7-4064-9a86-f5ef26c35884</value></item-id></result>

2022-02-03 22:22:54 | [Mutex] waiting for: [published:item:notifieditem-8bb4f26e-a0b7-4064-9a86-f5ef26c35884:admin@test-domain.com]

2022-02-03 22:22:54 | [Mutex] received everything.

2022-02-03 22:22:54 | [Mutex] isItemNotified: published:item:notifieditem-8bb4f26e-a0b7-4064-9a86-f5ef26c35884:admin@test-domain.com :: true

retractItemsFromNodes 0.336s
2022-02-03 22:22:54 |

2022-02-03 22:22:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 22:22:54 | ------------------------------------

2022-02-03 22:22:54 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7e310e56-3595-4913-b9a7-6722699e109e</node><item-id>item-8bb4f26e-a0b7-4064-9a86-f5ef26c35884</item-id></data>

2022-02-03 22:22:55 | 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-8bb4f26e-a0b7-4064-9a86-f5ef26c35884</value></item-id></result>

2022-02-03 22:22:55 | [Mutex] received everything.

2022-02-03 22:22:55 | [Mutex] isItemNotified: retracted:item:notifieditem-8bb4f26e-a0b7-4064-9a86-f5ef26c35884:admin@test-domain.com :: true

retrieveItemsFromNodes 0.344s
2022-02-03 22:22:54 |

2022-02-03 22:22:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 22:22:54 | ------------------------------------

2022-02-03 22:22:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7e310e56-3595-4913-b9a7-6722699e109e</node><item-id>item-8bb4f26e-a0b7-4064-9a86-f5ef26c35884</item-id></data>

2022-02-03 22:22:54 | 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-7e310e56-3595-4913-b9a7-6722699e109e</value></node><item-id type="text-single" label="Item ID"><value>item-8bb4f26e-a0b7-4064-9a86-f5ef26c35884</value></item-id><item type="text-multi" label="Item"><value><item id="item-8bb4f26e-a0b7-4064-9a86-f5ef26c35884"><test>item-8bb4f26e-a0b7-4064-9a86-f5ef26c35884</test></item></value></item></result>

2022-02-03 22:22:54 | [Mutex] notify: [retrieved:item:item-8bb4f26e-a0b7-4064-9a86-f5ef26c35884:payload-matches:true:localhost]

2022-02-03 22:22:54 | [Mutex] received everything.

2022-02-03 22:22:54 | [Mutex] isItemNotified: retrieved:item:item-8bb4f26e-a0b7-4064-9a86-f5ef26c35884:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-02-03 22:22:54 |

2022-02-03 22:22:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 22:22:54 | ------------------------------------

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

2022-02-03 22:22:54 | 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-25740589-6180-4fe6-80b9-646b0215800e</value><value>node-7e310e56-3595-4913-b9a7-6722699e109e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-03 22:22:54 |

2022-02-03 22:22:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 22:22:54 | ------------------------------------

2022-02-03 22:22:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7e310e56-3595-4913-b9a7-6722699e109e)</node-pattern></data>

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

subscribeNodes 1.157s
2022-02-03 22:22:52 |

2022-02-03 22:22:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 22:22:52 | ------------------------------------

2022-02-03 22:22:52 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7e310e56-3595-4913-b9a7-6722699e109e</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.290s
2022-02-03 22:22:55 |

2022-02-03 22:22:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 22:22:55 | ------------------------------------

2022-02-03 22:22:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7e310e56-3595-4913-b9a7-6722699e109e</node><jids><value>admin@test-domain.com</value></jids></data>

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