Generated by TestNG with ReportNG at 21:30 PST on Sunday 06 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.534s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2022-02-06 21:47:29 |

2022-02-06 21:47:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:47:29 | ------------------------------------

2022-02-06 21:47:29 | [Mutex] waiting for: [configured:node:node-edba6bde-b4ca-46a7-838a-75c681f16c18:node-fc588595-8bf3-45a7-a3a8-d971ebe07be5]

2022-02-06 21:47:29 | [Mutex] received everything.

2022-02-06 21:47:29 | [Mutex] isItemNotified: configured:node:node-edba6bde-b4ca-46a7-838a-75c681f16c18:node-fc588595-8bf3-45a7-a3a8-d971ebe07be5 :: true

2022-02-06 21:47:30 | [Mutex] waiting for: [received:nodes:4b0cadf6-ad43-488c-9dc2-444b3a44edc8:localhost]

2022-02-06 21:47:30 | [Mutex] received everything.

2022-02-06 21:47:30 | [Mutex] isItemNotified: received:node:4b0cadf6-ad43-488c-9dc2-444b3a44edc8:localhost:node-edba6bde-b4ca-46a7-838a-75c681f16c18:Node edba6bde-b4ca-46a7-838a-75c681f16c18 :: true

2022-02-06 21:47:30 | [Mutex] waiting for: [received:nodes:99d0feca-f312-48e2-9949-10d22a1ee68d:localhost]

2022-02-06 21:47:30 | [Mutex] received everything.

2022-02-06 21:47:30 | [Mutex] isItemNotified: received:node:99d0feca-f312-48e2-9949-10d22a1ee68d:localhost:node-edba6bde-b4ca-46a7-838a-75c681f16c18:Node edba6bde-b4ca-46a7-838a-75c681f16c18 :: false

createNodes 1.673s
2022-02-06 21:47:26 |

2022-02-06 21:47:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:47:26 | ------------------------------------

2022-02-06 21:47:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-edba6bde-b4ca-46a7-838a-75c681f16c18</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node edba6bde-b4ca-46a7-838a-75c681f16c18</title></pubsub></data>

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

2022-02-06 21:47:28 | [Mutex] waiting for: [received:nodes:deb82352-10bd-4bf8-aae4-0abcb96b1e7c:localhost]

2022-02-06 21:47:28 | [Mutex] received everything.

2022-02-06 21:47:28 | [Mutex] isItemNotified: received:node:deb82352-10bd-4bf8-aae4-0abcb96b1e7c:localhost:node-edba6bde-b4ca-46a7-838a-75c681f16c18:Node edba6bde-b4ca-46a7-838a-75c681f16c18 :: true

createSubnodes 1.033s
2022-02-06 21:47:28 |

2022-02-06 21:47:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:47:28 | ------------------------------------

2022-02-06 21:47:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fc588595-8bf3-45a7-a3a8-d971ebe07be5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fc588595-8bf3-45a7-a3a8-d971ebe07be5</title></pubsub></data>

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

2022-02-06 21:47:29 | [Mutex] waiting for: [received:nodes:7ea42e02-e0fb-4291-b261-9fce87c9e0c2:localhost]

2022-02-06 21:47:29 | [Mutex] received everything.

2022-02-06 21:47:29 | [Mutex] isItemNotified: received:node:7ea42e02-e0fb-4291-b261-9fce87c9e0c2:localhost:node-fc588595-8bf3-45a7-a3a8-d971ebe07be5:Node fc588595-8bf3-45a7-a3a8-d971ebe07be5 :: true

deleteNodes 1.021s
2022-02-06 21:47:35 |

2022-02-06 21:47:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:47:35 | ------------------------------------

2022-02-06 21:47:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fc588595-8bf3-45a7-a3a8-d971ebe07be5</node></data>

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

2022-02-06 21:47:36 | [Mutex] waiting for: [received:nodes:44994560-c14d-4480-b44d-f7296e4161ae:localhost]

2022-02-06 21:47:36 | [Mutex] received everything.

2022-02-06 21:47:36 | [Mutex] isItemNotified: received:node:44994560-c14d-4480-b44d-f7296e4161ae:localhost:node-fc588595-8bf3-45a7-a3a8-d971ebe07be5:Node fc588595-8bf3-45a7-a3a8-d971ebe07be5 :: false

deleteSubnodes 1.190s
2022-02-06 21:47:34 |

2022-02-06 21:47:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:47:34 | ------------------------------------

2022-02-06 21:47:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-edba6bde-b4ca-46a7-838a-75c681f16c18</node></data>

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

2022-02-06 21:47:35 | [Mutex] waiting for: [received:nodes:4d8028a3-c5b0-4f74-b23d-982eb199d6a4:localhost]

2022-02-06 21:47:35 | [Mutex] received everything.

2022-02-06 21:47:35 | [Mutex] isItemNotified: received:node:4d8028a3-c5b0-4f74-b23d-982eb199d6a4:localhost:node-edba6bde-b4ca-46a7-838a-75c681f16c18:Node edba6bde-b4ca-46a7-838a-75c681f16c18 :: false

2022-02-06 21:47:35 | [Mutex] waiting for: [received:nodes:6557d267-575b-4d4c-9eff-d3192e98c9f6:localhost]

2022-02-06 21:47:35 | [Mutex] received everything.

2022-02-06 21:47:35 | [Mutex] isItemNotified: received:node:6557d267-575b-4d4c-9eff-d3192e98c9f6:localhost:node-edba6bde-b4ca-46a7-838a-75c681f16c18:Node edba6bde-b4ca-46a7-838a-75c681f16c18 :: false

publishItemsToNodes 0.373s
2022-02-06 21:47:31 |

2022-02-06 21:47:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:47:31 | ------------------------------------

2022-02-06 21:47:31 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-edba6bde-b4ca-46a7-838a-75c681f16c18</node><item-id>item-5f52d26c-d2b7-44bd-a1c7-108fbf587507</item-id><entry><test>item-5f52d26c-d2b7-44bd-a1c7-108fbf587507</test></entry></data>

2022-02-06 21:47:32 | 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-5f52d26c-d2b7-44bd-a1c7-108fbf587507</value></item-id></result>

2022-02-06 21:47:32 | [Mutex] received everything.

2022-02-06 21:47:32 | [Mutex] isItemNotified: published:item:notifieditem-5f52d26c-d2b7-44bd-a1c7-108fbf587507:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2022-02-06 21:47:32 |

2022-02-06 21:47:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:47:32 | ------------------------------------

2022-02-06 21:47:32 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-edba6bde-b4ca-46a7-838a-75c681f16c18</node><item-id>item-5f52d26c-d2b7-44bd-a1c7-108fbf587507</item-id></data>

2022-02-06 21:47:32 | 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-5f52d26c-d2b7-44bd-a1c7-108fbf587507</value></item-id></result>

2022-02-06 21:47:32 | [Mutex] received everything.

2022-02-06 21:47:32 | [Mutex] isItemNotified: retracted:item:notifieditem-5f52d26c-d2b7-44bd-a1c7-108fbf587507:admin@test-domain.com :: true

retrieveItemsFromNodes 0.328s
2022-02-06 21:47:32 |

2022-02-06 21:47:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:47:32 | ------------------------------------

2022-02-06 21:47:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-edba6bde-b4ca-46a7-838a-75c681f16c18</node><item-id>item-5f52d26c-d2b7-44bd-a1c7-108fbf587507</item-id></data>

2022-02-06 21:47:32 | 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-edba6bde-b4ca-46a7-838a-75c681f16c18</value></node><item-id type="text-single" label="Item ID"><value>item-5f52d26c-d2b7-44bd-a1c7-108fbf587507</value></item-id><item type="text-multi" label="Item"><value><item id="item-5f52d26c-d2b7-44bd-a1c7-108fbf587507"><test>item-5f52d26c-d2b7-44bd-a1c7-108fbf587507</test></item></value></item></result>

2022-02-06 21:47:32 | [Mutex] notify: [retrieved:item:item-5f52d26c-d2b7-44bd-a1c7-108fbf587507:payload-matches:true:localhost]

2022-02-06 21:47:32 | [Mutex] received everything.

2022-02-06 21:47:32 | [Mutex] isItemNotified: retrieved:item:item-5f52d26c-d2b7-44bd-a1c7-108fbf587507:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-06 21:47:32 |

2022-02-06 21:47:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:47:32 | ------------------------------------

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

2022-02-06 21:47:32 | 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-edba6bde-b4ca-46a7-838a-75c681f16c18</value><value>node-fc588595-8bf3-45a7-a3a8-d971ebe07be5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2022-02-06 21:47:32 |

2022-02-06 21:47:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:47:32 | ------------------------------------

2022-02-06 21:47:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-edba6bde-b4ca-46a7-838a-75c681f16c18)</node-pattern></data>

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

subscribeNodes 1.151s
2022-02-06 21:47:30 |

2022-02-06 21:47:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:47:30 | ------------------------------------

2022-02-06 21:47:30 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-edba6bde-b4ca-46a7-838a-75c681f16c18</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.299s
2022-02-06 21:47:32 |

2022-02-06 21:47:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-06 21:47:32 | ------------------------------------

2022-02-06 21:47:32 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-edba6bde-b4ca-46a7-838a-75c681f16c18</node><jids><value>admin@test-domain.com</value></jids></data>

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