Generated by TestNG with ReportNG at 21:25 PST on Wednesday 27 January 2021
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.551s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.129s
2021-01-27 21:42:03 |

2021-01-27 21:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:42:03 | ------------------------------------

2021-01-27 21:42:03 | [Mutex] waiting for: [configured:node:node-0ee71ca3-327f-41b1-a905-b694038ef22f:node-555f9574-ada4-4a13-9174-cc9cab588769]

2021-01-27 21:42:03 | [Mutex] received everything.

2021-01-27 21:42:03 | [Mutex] isItemNotified: configured:node:node-0ee71ca3-327f-41b1-a905-b694038ef22f:node-555f9574-ada4-4a13-9174-cc9cab588769 :: true

2021-01-27 21:42:04 | [Mutex] waiting for: [received:nodes:109b7878-d879-4f6a-8bea-ac821847908e:localhost]

2021-01-27 21:42:04 | [Mutex] received everything.

2021-01-27 21:42:04 | [Mutex] isItemNotified: received:node:109b7878-d879-4f6a-8bea-ac821847908e:localhost:node-0ee71ca3-327f-41b1-a905-b694038ef22f:Node 0ee71ca3-327f-41b1-a905-b694038ef22f :: true

2021-01-27 21:42:04 | [Mutex] waiting for: [received:nodes:70215dde-bbc0-4d5c-a28f-63a3701f5f31:localhost]

2021-01-27 21:42:04 | [Mutex] received everything.

2021-01-27 21:42:04 | [Mutex] isItemNotified: received:node:70215dde-bbc0-4d5c-a28f-63a3701f5f31:localhost:node-0ee71ca3-327f-41b1-a905-b694038ef22f:Node 0ee71ca3-327f-41b1-a905-b694038ef22f :: false

createNodes 1.590s
2021-01-27 21:42:00 |

2021-01-27 21:42:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:42:00 | ------------------------------------

2021-01-27 21:42:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0ee71ca3-327f-41b1-a905-b694038ef22f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0ee71ca3-327f-41b1-a905-b694038ef22f</title></pubsub></data>

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

2021-01-27 21:42:02 | [Mutex] waiting for: [received:nodes:7159e20e-0b91-4a74-92c3-3343f0b3a55b:localhost]

2021-01-27 21:42:02 | [Mutex] received everything.

2021-01-27 21:42:02 | [Mutex] isItemNotified: received:node:7159e20e-0b91-4a74-92c3-3343f0b3a55b:localhost:node-0ee71ca3-327f-41b1-a905-b694038ef22f:Node 0ee71ca3-327f-41b1-a905-b694038ef22f :: true

createSubnodes 1.040s
2021-01-27 21:42:02 |

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

2021-01-27 21:42:02 | ------------------------------------

2021-01-27 21:42:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-555f9574-ada4-4a13-9174-cc9cab588769</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 555f9574-ada4-4a13-9174-cc9cab588769</title></pubsub></data>

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

2021-01-27 21:42:03 | [Mutex] waiting for: [received:nodes:08f3678d-560b-4251-8ad6-57e6e0b584b3:localhost]

2021-01-27 21:42:03 | [Mutex] received everything.

2021-01-27 21:42:03 | [Mutex] isItemNotified: received:node:08f3678d-560b-4251-8ad6-57e6e0b584b3:localhost:node-555f9574-ada4-4a13-9174-cc9cab588769:Node 555f9574-ada4-4a13-9174-cc9cab588769 :: true

deleteNodes 1.026s
2021-01-27 21:42:09 |

2021-01-27 21:42:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:42:09 | ------------------------------------

2021-01-27 21:42:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-555f9574-ada4-4a13-9174-cc9cab588769</node></data>

2021-01-27 21:42:09 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-27 21:42:10 | [Mutex] waiting for: [received:nodes:ea4756bb-bde0-4e67-9dda-e55069afb5e2:localhost]

2021-01-27 21:42:10 | [Mutex] received everything.

2021-01-27 21:42:10 | [Mutex] isItemNotified: received:node:ea4756bb-bde0-4e67-9dda-e55069afb5e2:localhost:node-555f9574-ada4-4a13-9174-cc9cab588769:Node 555f9574-ada4-4a13-9174-cc9cab588769 :: false

deleteSubnodes 1.206s
2021-01-27 21:42:07 |

2021-01-27 21:42:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:42:07 | ------------------------------------

2021-01-27 21:42:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0ee71ca3-327f-41b1-a905-b694038ef22f</node></data>

2021-01-27 21:42:08 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-27 21:42:09 | [Mutex] waiting for: [received:nodes:90e8fa00-5453-41f5-8e57-6b3dfe3613e4:localhost]

2021-01-27 21:42:09 | [Mutex] received everything.

2021-01-27 21:42:09 | [Mutex] isItemNotified: received:node:90e8fa00-5453-41f5-8e57-6b3dfe3613e4:localhost:node-0ee71ca3-327f-41b1-a905-b694038ef22f:Node 0ee71ca3-327f-41b1-a905-b694038ef22f :: false

2021-01-27 21:42:09 | [Mutex] waiting for: [received:nodes:3d64b754-3f5d-4d85-bcf0-0f1b9741e50d:localhost]

2021-01-27 21:42:09 | [Mutex] received everything.

2021-01-27 21:42:09 | [Mutex] isItemNotified: received:node:3d64b754-3f5d-4d85-bcf0-0f1b9741e50d:localhost:node-0ee71ca3-327f-41b1-a905-b694038ef22f:Node 0ee71ca3-327f-41b1-a905-b694038ef22f :: false

publishItemsToNodes 0.205s
2021-01-27 21:42:05 |

2021-01-27 21:42:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:42:05 | ------------------------------------

2021-01-27 21:42:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0ee71ca3-327f-41b1-a905-b694038ef22f</node><item-id>item-a91b56e2-63d5-46d9-8d8a-a12b869cc401</item-id><entry><test>item-a91b56e2-63d5-46d9-8d8a-a12b869cc401</test></entry></data>

2021-01-27 21:42:05 | 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-a91b56e2-63d5-46d9-8d8a-a12b869cc401</value></item-id></result>

2021-01-27 21:42:05 | [Mutex] waiting for: [published:item:notifieditem-a91b56e2-63d5-46d9-8d8a-a12b869cc401:admin@test-domain.com]

2021-01-27 21:42:05 | [Mutex] received everything.

2021-01-27 21:42:05 | [Mutex] isItemNotified: published:item:notifieditem-a91b56e2-63d5-46d9-8d8a-a12b869cc401:admin@test-domain.com :: true

retractItemsFromNodes 0.355s
2021-01-27 21:42:06 |

2021-01-27 21:42:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:42:06 | ------------------------------------

2021-01-27 21:42:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0ee71ca3-327f-41b1-a905-b694038ef22f</node><item-id>item-a91b56e2-63d5-46d9-8d8a-a12b869cc401</item-id></data>

2021-01-27 21:42:06 | 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-a91b56e2-63d5-46d9-8d8a-a12b869cc401</value></item-id></result>

2021-01-27 21:42:06 | [Mutex] received everything.

2021-01-27 21:42:06 | [Mutex] isItemNotified: retracted:item:notifieditem-a91b56e2-63d5-46d9-8d8a-a12b869cc401:admin@test-domain.com :: true

retrieveItemsFromNodes 0.320s
2021-01-27 21:42:05 |

2021-01-27 21:42:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:42:05 | ------------------------------------

2021-01-27 21:42:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0ee71ca3-327f-41b1-a905-b694038ef22f</node><item-id>item-a91b56e2-63d5-46d9-8d8a-a12b869cc401</item-id></data>

2021-01-27 21:42:05 | 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-0ee71ca3-327f-41b1-a905-b694038ef22f</value></node><item-id label="Item ID" type="text-single"><value>item-a91b56e2-63d5-46d9-8d8a-a12b869cc401</value></item-id><item label="Item" type="text-multi"><value><item id="item-a91b56e2-63d5-46d9-8d8a-a12b869cc401"><test>item-a91b56e2-63d5-46d9-8d8a-a12b869cc401</test></item></value></item></result>

2021-01-27 21:42:05 | [Mutex] notify: [retrieved:item:item-a91b56e2-63d5-46d9-8d8a-a12b869cc401:payload-matches:true:localhost]

2021-01-27 21:42:05 | [Mutex] received everything.

2021-01-27 21:42:05 | [Mutex] isItemNotified: retrieved:item:item-a91b56e2-63d5-46d9-8d8a-a12b869cc401:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-01-27 21:42:05 |

2021-01-27 21:42:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:42:05 | ------------------------------------

2021-01-27 21:42:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-27 21:42:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-0ee71ca3-327f-41b1-a905-b694038ef22f</value><value>node-555f9574-ada4-4a13-9174-cc9cab588769</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-01-27 21:42:06 |

2021-01-27 21:42:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:42:06 | ------------------------------------

2021-01-27 21:42:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0ee71ca3-327f-41b1-a905-b694038ef22f)</node-pattern></data>

2021-01-27 21:42:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.139s
2021-01-27 21:42:04 |

2021-01-27 21:42:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:42:04 | ------------------------------------

2021-01-27 21:42:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0ee71ca3-327f-41b1-a905-b694038ef22f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-27 21:42:04 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.383s
2021-01-27 21:42:06 |

2021-01-27 21:42:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 21:42:06 | ------------------------------------

2021-01-27 21:42:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0ee71ca3-327f-41b1-a905-b694038ef22f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-27 21:42:06 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>