Generated by TestNG with ReportNG at 22:19 PDT on Thursday 11 August 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.575s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.119s
2022-08-11 22:33:21 |

2022-08-11 22:33:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:33:21 | ------------------------------------

2022-08-11 22:33:21 | [Mutex] waiting for: [configured:node:node-a2498b47-ccb1-45b8-b43b-c9d33408dca7:node-123652d0-0afb-48a5-aee5-b8963627dfff]

2022-08-11 22:33:21 | [Mutex] received everything.

2022-08-11 22:33:21 | [Mutex] isItemNotified: configured:node:node-a2498b47-ccb1-45b8-b43b-c9d33408dca7:node-123652d0-0afb-48a5-aee5-b8963627dfff :: true

2022-08-11 22:33:22 | [Mutex] waiting for: [received:nodes:1e7ca9d4-5e96-4812-99ed-669e0c55ac62:localhost]

2022-08-11 22:33:22 | [Mutex] received everything.

2022-08-11 22:33:22 | [Mutex] isItemNotified: received:node:1e7ca9d4-5e96-4812-99ed-669e0c55ac62:localhost:node-a2498b47-ccb1-45b8-b43b-c9d33408dca7:Node a2498b47-ccb1-45b8-b43b-c9d33408dca7 :: true

2022-08-11 22:33:23 | [Mutex] waiting for: [received:nodes:95008f3c-ebaf-4d85-ada7-62c04a3214f4:localhost]

2022-08-11 22:33:23 | [Mutex] waiting for: [received:nodes:95008f3c-ebaf-4d85-ada7-62c04a3214f4:localhost]

2022-08-11 22:33:23 | [Mutex] waiting for: [received:nodes:95008f3c-ebaf-4d85-ada7-62c04a3214f4:localhost]

2022-08-11 22:33:23 | [Mutex] waiting for: [received:nodes:95008f3c-ebaf-4d85-ada7-62c04a3214f4:localhost]

2022-08-11 22:33:23 | [Mutex] received everything.

2022-08-11 22:33:23 | [Mutex] isItemNotified: received:node:95008f3c-ebaf-4d85-ada7-62c04a3214f4:localhost:node-a2498b47-ccb1-45b8-b43b-c9d33408dca7:Node a2498b47-ccb1-45b8-b43b-c9d33408dca7 :: false

createNodes 1.475s
2022-08-11 22:33:19 |

2022-08-11 22:33:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:33:19 | ------------------------------------

2022-08-11 22:33:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a2498b47-ccb1-45b8-b43b-c9d33408dca7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a2498b47-ccb1-45b8-b43b-c9d33408dca7</title></pubsub></data>

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

2022-08-11 22:33:20 | [Mutex] waiting for: [received:nodes:38460148-dca4-45c5-b778-3ca407dc358f:localhost]

2022-08-11 22:33:20 | [Mutex] waiting for: [received:nodes:38460148-dca4-45c5-b778-3ca407dc358f:localhost]

2022-08-11 22:33:20 | [Mutex] received everything.

2022-08-11 22:33:20 | [Mutex] isItemNotified: received:node:38460148-dca4-45c5-b778-3ca407dc358f:localhost:node-a2498b47-ccb1-45b8-b43b-c9d33408dca7:Node a2498b47-ccb1-45b8-b43b-c9d33408dca7 :: true

createSubnodes 1.027s
2022-08-11 22:33:20 |

2022-08-11 22:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:33:20 | ------------------------------------

2022-08-11 22:33:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-123652d0-0afb-48a5-aee5-b8963627dfff</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 123652d0-0afb-48a5-aee5-b8963627dfff</title></pubsub></data>

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

2022-08-11 22:33:21 | [Mutex] waiting for: [received:nodes:5b46a0ae-5243-4323-822e-3bdbff632504:localhost]

2022-08-11 22:33:21 | [Mutex] received everything.

2022-08-11 22:33:21 | [Mutex] isItemNotified: received:node:5b46a0ae-5243-4323-822e-3bdbff632504:localhost:node-123652d0-0afb-48a5-aee5-b8963627dfff:Node 123652d0-0afb-48a5-aee5-b8963627dfff :: true

deleteNodes 1.023s
2022-08-11 22:33:27 |

2022-08-11 22:33:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:33:27 | ------------------------------------

2022-08-11 22:33:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-123652d0-0afb-48a5-aee5-b8963627dfff</node></data>

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

2022-08-11 22:33:28 | [Mutex] waiting for: [received:nodes:86ec06a7-ea56-409a-8fc0-3be2f727a69b:localhost]

2022-08-11 22:33:28 | [Mutex] received everything.

2022-08-11 22:33:28 | [Mutex] isItemNotified: received:node:86ec06a7-ea56-409a-8fc0-3be2f727a69b:localhost:node-123652d0-0afb-48a5-aee5-b8963627dfff:Node 123652d0-0afb-48a5-aee5-b8963627dfff :: false

deleteSubnodes 1.128s
2022-08-11 22:33:26 |

2022-08-11 22:33:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:33:26 | ------------------------------------

2022-08-11 22:33:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a2498b47-ccb1-45b8-b43b-c9d33408dca7</node></data>

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

2022-08-11 22:33:27 | [Mutex] waiting for: [received:nodes:b6785bca-5961-4cba-84ea-52ae114dc800:localhost]

2022-08-11 22:33:27 | [Mutex] received everything.

2022-08-11 22:33:27 | [Mutex] isItemNotified: received:node:b6785bca-5961-4cba-84ea-52ae114dc800:localhost:node-a2498b47-ccb1-45b8-b43b-c9d33408dca7:Node a2498b47-ccb1-45b8-b43b-c9d33408dca7 :: false

2022-08-11 22:33:27 | [Mutex] waiting for: [received:nodes:eaf3e5ff-8c16-4f3c-862f-ebf4f4ef1015:localhost]

2022-08-11 22:33:27 | [Mutex] received everything.

2022-08-11 22:33:27 | [Mutex] isItemNotified: received:node:eaf3e5ff-8c16-4f3c-862f-ebf4f4ef1015:localhost:node-a2498b47-ccb1-45b8-b43b-c9d33408dca7:Node a2498b47-ccb1-45b8-b43b-c9d33408dca7 :: false

publishItemsToNodes 0.186s
2022-08-11 22:33:24 |

2022-08-11 22:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:33:24 | ------------------------------------

2022-08-11 22:33:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a2498b47-ccb1-45b8-b43b-c9d33408dca7</node><item-id>item-afa758b3-f667-4d5e-ae19-49c42df96b4c</item-id><entry><test>item-afa758b3-f667-4d5e-ae19-49c42df96b4c</test></entry></data>

2022-08-11 22:33:24 | 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-afa758b3-f667-4d5e-ae19-49c42df96b4c</value></item-id></result>

2022-08-11 22:33:24 | [Mutex] waiting for: [published:item:notifieditem-afa758b3-f667-4d5e-ae19-49c42df96b4c:admin@test-domain.com]

2022-08-11 22:33:24 | [Mutex] received everything.

2022-08-11 22:33:24 | [Mutex] isItemNotified: published:item:notifieditem-afa758b3-f667-4d5e-ae19-49c42df96b4c:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2022-08-11 22:33:24 |

2022-08-11 22:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:33:24 | ------------------------------------

2022-08-11 22:33:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a2498b47-ccb1-45b8-b43b-c9d33408dca7</node><item-id>item-afa758b3-f667-4d5e-ae19-49c42df96b4c</item-id></data>

2022-08-11 22:33:24 | 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-afa758b3-f667-4d5e-ae19-49c42df96b4c</value></item-id></result>

2022-08-11 22:33:24 | [Mutex] waiting for: [retracted:item:notifieditem-afa758b3-f667-4d5e-ae19-49c42df96b4c:admin@test-domain.com]

2022-08-11 22:33:24 | [Mutex] received everything.

2022-08-11 22:33:24 | [Mutex] isItemNotified: retracted:item:notifieditem-afa758b3-f667-4d5e-ae19-49c42df96b4c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.227s
2022-08-11 22:33:24 |

2022-08-11 22:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:33:24 | ------------------------------------

2022-08-11 22:33:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a2498b47-ccb1-45b8-b43b-c9d33408dca7</node><item-id>item-afa758b3-f667-4d5e-ae19-49c42df96b4c</item-id></data>

2022-08-11 22:33:24 | 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-a2498b47-ccb1-45b8-b43b-c9d33408dca7</value></node><item-id type="text-single" label="Item ID"><value>item-afa758b3-f667-4d5e-ae19-49c42df96b4c</value></item-id><item type="text-multi" label="Item"><value><item id="item-afa758b3-f667-4d5e-ae19-49c42df96b4c"><test>item-afa758b3-f667-4d5e-ae19-49c42df96b4c</test></item></value></item></result>

2022-08-11 22:33:24 | [Mutex] notify: [retrieved:item:item-afa758b3-f667-4d5e-ae19-49c42df96b4c:payload-matches:true:localhost]

2022-08-11 22:33:24 | [Mutex] received everything.

2022-08-11 22:33:24 | [Mutex] isItemNotified: retrieved:item:item-afa758b3-f667-4d5e-ae19-49c42df96b4c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.054s
2022-08-11 22:33:24 |

2022-08-11 22:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:33:24 | ------------------------------------

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

2022-08-11 22:33:24 | 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-123652d0-0afb-48a5-aee5-b8963627dfff</value><value>node-a2498b47-ccb1-45b8-b43b-c9d33408dca7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2022-08-11 22:33:24 |

2022-08-11 22:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:33:24 | ------------------------------------

2022-08-11 22:33:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a2498b47-ccb1-45b8-b43b-c9d33408dca7)</node-pattern></data>

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

subscribeNodes 1.144s
2022-08-11 22:33:23 |

2022-08-11 22:33:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:33:23 | ------------------------------------

2022-08-11 22:33:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a2498b47-ccb1-45b8-b43b-c9d33408dca7</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.215s
2022-08-11 22:33:24 |

2022-08-11 22:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-11 22:33:24 | ------------------------------------

2022-08-11 22:33:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a2498b47-ccb1-45b8-b43b-c9d33408dca7</node><jids><value>admin@test-domain.com</value></jids></data>

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