Generated by TestNG with ReportNG at 00:00 PDT on Saturday 29 August 2020
root@3513606298cd / 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.077s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.112s
2020-08-29 00:16:07 |

2020-08-29 00:16:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-29 00:16:07 | ------------------------------------

2020-08-29 00:16:07 | [Mutex] waiting for: [configured:node:node-1354192a-7393-4ed9-b0d9-415de3a5e4fe:node-6eab2d83-e6ca-493b-83a2-d8d56adec982]

2020-08-29 00:16:07 | [Mutex] received everything.

2020-08-29 00:16:07 | [Mutex] isItemNotified: configured:node:node-1354192a-7393-4ed9-b0d9-415de3a5e4fe:node-6eab2d83-e6ca-493b-83a2-d8d56adec982 :: true

2020-08-29 00:16:08 | [Mutex] waiting for: [received:nodes:8252942d-d107-4f83-916f-77378d178716:localhost]

2020-08-29 00:16:08 | [Mutex] received everything.

2020-08-29 00:16:08 | [Mutex] isItemNotified: received:node:8252942d-d107-4f83-916f-77378d178716:localhost:node-1354192a-7393-4ed9-b0d9-415de3a5e4fe:Node 1354192a-7393-4ed9-b0d9-415de3a5e4fe :: true

2020-08-29 00:16:08 | [Mutex] waiting for: [received:nodes:a1b13ce0-a7a3-4760-9ce1-b396e72991b4:localhost]

2020-08-29 00:16:08 | [Mutex] received everything.

2020-08-29 00:16:08 | [Mutex] isItemNotified: received:node:a1b13ce0-a7a3-4760-9ce1-b396e72991b4:localhost:node-1354192a-7393-4ed9-b0d9-415de3a5e4fe:Node 1354192a-7393-4ed9-b0d9-415de3a5e4fe :: false

createNodes 1.574s
2020-08-29 00:16:04 |

2020-08-29 00:16:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-29 00:16:04 | ------------------------------------

2020-08-29 00:16:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1354192a-7393-4ed9-b0d9-415de3a5e4fe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1354192a-7393-4ed9-b0d9-415de3a5e4fe</title></pubsub></data>

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

2020-08-29 00:16:06 | [Mutex] waiting for: [received:nodes:1f242cbe-2a74-4d02-a51f-53445c868e21:localhost]

2020-08-29 00:16:06 | [Mutex] waiting for: [received:nodes:1f242cbe-2a74-4d02-a51f-53445c868e21:localhost]

2020-08-29 00:16:06 | [Mutex] received everything.

2020-08-29 00:16:06 | [Mutex] isItemNotified: received:node:1f242cbe-2a74-4d02-a51f-53445c868e21:localhost:node-1354192a-7393-4ed9-b0d9-415de3a5e4fe:Node 1354192a-7393-4ed9-b0d9-415de3a5e4fe :: true

createSubnodes 1.041s
2020-08-29 00:16:06 |

2020-08-29 00:16:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-29 00:16:06 | ------------------------------------

2020-08-29 00:16:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6eab2d83-e6ca-493b-83a2-d8d56adec982</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6eab2d83-e6ca-493b-83a2-d8d56adec982</title></pubsub></data>

2020-08-29 00:16:06 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-29 00:16:07 | [Mutex] waiting for: [received:nodes:1fcc23da-969b-43ae-9a3f-ae74b640988c:localhost]

2020-08-29 00:16:07 | [Mutex] received everything.

2020-08-29 00:16:07 | [Mutex] isItemNotified: received:node:1fcc23da-969b-43ae-9a3f-ae74b640988c:localhost:node-6eab2d83-e6ca-493b-83a2-d8d56adec982:Node 6eab2d83-e6ca-493b-83a2-d8d56adec982 :: true

deleteNodes 1.022s
2020-08-29 00:16:13 |

2020-08-29 00:16:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-29 00:16:13 | ------------------------------------

2020-08-29 00:16:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6eab2d83-e6ca-493b-83a2-d8d56adec982</node></data>

2020-08-29 00:16:13 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-29 00:16:14 | [Mutex] waiting for: [received:nodes:8092be9a-5ad4-4558-99c5-386b9801e46c:localhost]

2020-08-29 00:16:14 | [Mutex] received everything.

2020-08-29 00:16:14 | [Mutex] isItemNotified: received:node:8092be9a-5ad4-4558-99c5-386b9801e46c:localhost:node-6eab2d83-e6ca-493b-83a2-d8d56adec982:Node 6eab2d83-e6ca-493b-83a2-d8d56adec982 :: false

deleteSubnodes 1.116s
2020-08-29 00:16:11 |

2020-08-29 00:16:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-29 00:16:11 | ------------------------------------

2020-08-29 00:16:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1354192a-7393-4ed9-b0d9-415de3a5e4fe</node></data>

2020-08-29 00:16:12 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-29 00:16:13 | [Mutex] waiting for: [received:nodes:a5f9d642-c841-45c6-a5da-51452236087c:localhost]

2020-08-29 00:16:13 | [Mutex] waiting for: [received:nodes:a5f9d642-c841-45c6-a5da-51452236087c:localhost]

2020-08-29 00:16:13 | [Mutex] received everything.

2020-08-29 00:16:13 | [Mutex] isItemNotified: received:node:a5f9d642-c841-45c6-a5da-51452236087c:localhost:node-1354192a-7393-4ed9-b0d9-415de3a5e4fe:Node 1354192a-7393-4ed9-b0d9-415de3a5e4fe :: false

2020-08-29 00:16:13 | [Mutex] waiting for: [received:nodes:d4cb04ea-776b-45f7-8176-7574dc06e42d:localhost]

2020-08-29 00:16:13 | [Mutex] received everything.

2020-08-29 00:16:13 | [Mutex] isItemNotified: received:node:d4cb04ea-776b-45f7-8176-7574dc06e42d:localhost:node-1354192a-7393-4ed9-b0d9-415de3a5e4fe:Node 1354192a-7393-4ed9-b0d9-415de3a5e4fe :: false

publishItemsToNodes 0.225s
2020-08-29 00:16:09 |

2020-08-29 00:16:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-29 00:16:09 | ------------------------------------

2020-08-29 00:16:09 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1354192a-7393-4ed9-b0d9-415de3a5e4fe</node><item-id>item-0b28ad56-6b9b-487e-a91d-338dc95b0266</item-id><entry><test>item-0b28ad56-6b9b-487e-a91d-338dc95b0266</test></entry></data>

2020-08-29 00:16:10 | 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-0b28ad56-6b9b-487e-a91d-338dc95b0266</value></item-id></result>

2020-08-29 00:16:10 | [Mutex] received everything.

2020-08-29 00:16:10 | [Mutex] isItemNotified: published:item:notifieditem-0b28ad56-6b9b-487e-a91d-338dc95b0266:admin@test-domain.com :: true

retractItemsFromNodes 0.223s
2020-08-29 00:16:10 |

2020-08-29 00:16:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-29 00:16:10 | ------------------------------------

2020-08-29 00:16:10 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1354192a-7393-4ed9-b0d9-415de3a5e4fe</node><item-id>item-0b28ad56-6b9b-487e-a91d-338dc95b0266</item-id></data>

2020-08-29 00:16:10 | 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-0b28ad56-6b9b-487e-a91d-338dc95b0266</value></item-id></result>

2020-08-29 00:16:10 | [Mutex] received everything.

2020-08-29 00:16:10 | [Mutex] isItemNotified: retracted:item:notifieditem-0b28ad56-6b9b-487e-a91d-338dc95b0266:admin@test-domain.com :: true

retrieveItemsFromNodes 0.262s
2020-08-29 00:16:10 |

2020-08-29 00:16:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-29 00:16:10 | ------------------------------------

2020-08-29 00:16:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1354192a-7393-4ed9-b0d9-415de3a5e4fe</node><item-id>item-0b28ad56-6b9b-487e-a91d-338dc95b0266</item-id></data>

2020-08-29 00:16:10 | 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-1354192a-7393-4ed9-b0d9-415de3a5e4fe</value></node><item-id label="Item ID" type="text-single"><value>item-0b28ad56-6b9b-487e-a91d-338dc95b0266</value></item-id><item label="Item" type="text-multi"><value><item id="item-0b28ad56-6b9b-487e-a91d-338dc95b0266"><test>item-0b28ad56-6b9b-487e-a91d-338dc95b0266</test></item></value></item></result>

2020-08-29 00:16:10 | [Mutex] notify: [retrieved:item:item-0b28ad56-6b9b-487e-a91d-338dc95b0266:payload-matches:true:localhost]

2020-08-29 00:16:10 | [Mutex] received everything.

2020-08-29 00:16:10 | [Mutex] isItemNotified: retrieved:item:item-0b28ad56-6b9b-487e-a91d-338dc95b0266:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-08-29 00:16:10 |

2020-08-29 00:16:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-29 00:16:10 | ------------------------------------

2020-08-29 00:16:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-08-29 00:16:10 | 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-6eab2d83-e6ca-493b-83a2-d8d56adec982</value><value>node-1354192a-7393-4ed9-b0d9-415de3a5e4fe</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2020-08-29 00:16:10 |

2020-08-29 00:16:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-29 00:16:10 | ------------------------------------

2020-08-29 00:16:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1354192a-7393-4ed9-b0d9-415de3a5e4fe)</node-pattern></data>

2020-08-29 00:16:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.102s
2020-08-29 00:16:08 |

2020-08-29 00:16:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-29 00:16:08 | ------------------------------------

2020-08-29 00:16:08 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1354192a-7393-4ed9-b0d9-415de3a5e4fe</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-29 00:16:08 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.335s
2020-08-29 00:16:10 |

2020-08-29 00:16:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-29 00:16:10 | ------------------------------------

2020-08-29 00:16:10 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1354192a-7393-4ed9-b0d9-415de3a5e4fe</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-29 00:16:10 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>