Generated by TestNG with ReportNG at 22:15 PDT on Friday 17 March 2023
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.610s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2023-03-17 22:29:47 |

2023-03-17 22:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:47 | ------------------------------------

2023-03-17 22:29:47 | [Mutex] waiting for: [configured:node:node-4e46686a-9c9c-40af-8aac-6f2e57bcb987:node-f83f4bd8-b65c-40a5-aea0-6a839cc782f0]

2023-03-17 22:29:47 | [Mutex] received everything.

2023-03-17 22:29:47 | [Mutex] isItemNotified: configured:node:node-4e46686a-9c9c-40af-8aac-6f2e57bcb987:node-f83f4bd8-b65c-40a5-aea0-6a839cc782f0 :: true

2023-03-17 22:29:48 | [Mutex] waiting for: [received:nodes:9af05813-b20b-4c90-a571-8f7489d8efac:localhost]

2023-03-17 22:29:48 | [Mutex] received everything.

2023-03-17 22:29:48 | [Mutex] isItemNotified: received:node:9af05813-b20b-4c90-a571-8f7489d8efac:localhost:node-4e46686a-9c9c-40af-8aac-6f2e57bcb987:Node 4e46686a-9c9c-40af-8aac-6f2e57bcb987 :: true

2023-03-17 22:29:48 | [Mutex] waiting for: [received:nodes:bd11efbf-bbe2-43d1-baa6-4c2140a60e08:localhost]

2023-03-17 22:29:48 | [Mutex] waiting for: [received:nodes:bd11efbf-bbe2-43d1-baa6-4c2140a60e08:localhost]

2023-03-17 22:29:48 | [Mutex] waiting for: [received:nodes:bd11efbf-bbe2-43d1-baa6-4c2140a60e08:localhost]

2023-03-17 22:29:48 | [Mutex] waiting for: [received:nodes:bd11efbf-bbe2-43d1-baa6-4c2140a60e08:localhost]

2023-03-17 22:29:48 | [Mutex] received everything.

2023-03-17 22:29:48 | [Mutex] isItemNotified: received:node:bd11efbf-bbe2-43d1-baa6-4c2140a60e08:localhost:node-4e46686a-9c9c-40af-8aac-6f2e57bcb987:Node 4e46686a-9c9c-40af-8aac-6f2e57bcb987 :: false

createNodes 1.471s
2023-03-17 22:29:45 |

2023-03-17 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:45 | ------------------------------------

2023-03-17 22:29:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4e46686a-9c9c-40af-8aac-6f2e57bcb987</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4e46686a-9c9c-40af-8aac-6f2e57bcb987</title></pubsub></data>

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

2023-03-17 22:29:46 | [Mutex] waiting for: [received:nodes:db8b0bc5-870f-473a-90b4-6c5af7dfcaae:localhost]

2023-03-17 22:29:46 | [Mutex] waiting for: [received:nodes:db8b0bc5-870f-473a-90b4-6c5af7dfcaae:localhost]

2023-03-17 22:29:46 | [Mutex] waiting for: [received:nodes:db8b0bc5-870f-473a-90b4-6c5af7dfcaae:localhost]

2023-03-17 22:29:46 | [Mutex] waiting for: [received:nodes:db8b0bc5-870f-473a-90b4-6c5af7dfcaae:localhost]

2023-03-17 22:29:46 | [Mutex] received everything.

2023-03-17 22:29:46 | [Mutex] isItemNotified: received:node:db8b0bc5-870f-473a-90b4-6c5af7dfcaae:localhost:node-4e46686a-9c9c-40af-8aac-6f2e57bcb987:Node 4e46686a-9c9c-40af-8aac-6f2e57bcb987 :: true

createSubnodes 1.037s
2023-03-17 22:29:46 |

2023-03-17 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:46 | ------------------------------------

2023-03-17 22:29:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f83f4bd8-b65c-40a5-aea0-6a839cc782f0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f83f4bd8-b65c-40a5-aea0-6a839cc782f0</title></pubsub></data>

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

2023-03-17 22:29:47 | [Mutex] waiting for: [received:nodes:65962db3-a986-402f-9546-4eaa87022ce7:localhost]

2023-03-17 22:29:47 | [Mutex] received everything.

2023-03-17 22:29:47 | [Mutex] isItemNotified: received:node:65962db3-a986-402f-9546-4eaa87022ce7:localhost:node-f83f4bd8-b65c-40a5-aea0-6a839cc782f0:Node f83f4bd8-b65c-40a5-aea0-6a839cc782f0 :: true

deleteNodes 1.017s
2023-03-17 22:29:52 |

2023-03-17 22:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:52 | ------------------------------------

2023-03-17 22:29:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f83f4bd8-b65c-40a5-aea0-6a839cc782f0</node></data>

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

2023-03-17 22:29:53 | [Mutex] waiting for: [received:nodes:14b6bb16-b0df-4236-a1f8-d3e001e99fe1:localhost]

2023-03-17 22:29:53 | [Mutex] waiting for: [received:nodes:14b6bb16-b0df-4236-a1f8-d3e001e99fe1:localhost]

2023-03-17 22:29:53 | [Mutex] waiting for: [received:nodes:14b6bb16-b0df-4236-a1f8-d3e001e99fe1:localhost]

2023-03-17 22:29:53 | [Mutex] received everything.

2023-03-17 22:29:53 | [Mutex] isItemNotified: received:node:14b6bb16-b0df-4236-a1f8-d3e001e99fe1:localhost:node-f83f4bd8-b65c-40a5-aea0-6a839cc782f0:Node f83f4bd8-b65c-40a5-aea0-6a839cc782f0 :: false

deleteSubnodes 1.115s
2023-03-17 22:29:51 |

2023-03-17 22:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:51 | ------------------------------------

2023-03-17 22:29:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4e46686a-9c9c-40af-8aac-6f2e57bcb987</node></data>

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

2023-03-17 22:29:52 | [Mutex] waiting for: [received:nodes:4ad57e11-2e8f-4f44-8eb2-d18adbef1f43:localhost]

2023-03-17 22:29:52 | [Mutex] waiting for: [received:nodes:4ad57e11-2e8f-4f44-8eb2-d18adbef1f43:localhost]

2023-03-17 22:29:52 | [Mutex] waiting for: [received:nodes:4ad57e11-2e8f-4f44-8eb2-d18adbef1f43:localhost]

2023-03-17 22:29:52 | [Mutex] received everything.

2023-03-17 22:29:52 | [Mutex] isItemNotified: received:node:4ad57e11-2e8f-4f44-8eb2-d18adbef1f43:localhost:node-4e46686a-9c9c-40af-8aac-6f2e57bcb987:Node 4e46686a-9c9c-40af-8aac-6f2e57bcb987 :: false

2023-03-17 22:29:52 | [Mutex] waiting for: [received:nodes:74c97c27-92bb-4a4a-ad11-466f971bebf1:localhost]

2023-03-17 22:29:52 | [Mutex] received everything.

2023-03-17 22:29:52 | [Mutex] isItemNotified: received:node:74c97c27-92bb-4a4a-ad11-466f971bebf1:localhost:node-4e46686a-9c9c-40af-8aac-6f2e57bcb987:Node 4e46686a-9c9c-40af-8aac-6f2e57bcb987 :: false

publishItemsToNodes 0.262s
2023-03-17 22:29:49 |

2023-03-17 22:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:49 | ------------------------------------

2023-03-17 22:29:49 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4e46686a-9c9c-40af-8aac-6f2e57bcb987</node><item-id>item-ad0290f2-e1b0-41df-abcc-6fb521c6a916</item-id><entry><test>item-ad0290f2-e1b0-41df-abcc-6fb521c6a916</test></entry></data>

2023-03-17 22:29:50 | 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-ad0290f2-e1b0-41df-abcc-6fb521c6a916</value></item-id></result>

2023-03-17 22:29:50 | [Mutex] received everything.

2023-03-17 22:29:50 | [Mutex] isItemNotified: published:item:notifieditem-ad0290f2-e1b0-41df-abcc-6fb521c6a916:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2023-03-17 22:29:50 |

2023-03-17 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:50 | ------------------------------------

2023-03-17 22:29:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4e46686a-9c9c-40af-8aac-6f2e57bcb987</node><item-id>item-ad0290f2-e1b0-41df-abcc-6fb521c6a916</item-id></data>

2023-03-17 22:29:50 | 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-ad0290f2-e1b0-41df-abcc-6fb521c6a916</value></item-id></result>

2023-03-17 22:29:50 | [Mutex] received everything.

2023-03-17 22:29:50 | [Mutex] isItemNotified: retracted:item:notifieditem-ad0290f2-e1b0-41df-abcc-6fb521c6a916:admin@test-domain.com :: true

retrieveItemsFromNodes 0.291s
2023-03-17 22:29:50 |

2023-03-17 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:50 | ------------------------------------

2023-03-17 22:29:50 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4e46686a-9c9c-40af-8aac-6f2e57bcb987</node><item-id>item-ad0290f2-e1b0-41df-abcc-6fb521c6a916</item-id></data>

2023-03-17 22:29:50 | 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-4e46686a-9c9c-40af-8aac-6f2e57bcb987</value></node><item-id label="Item ID" type="text-single"><value>item-ad0290f2-e1b0-41df-abcc-6fb521c6a916</value></item-id><item label="Item" type="text-multi"><value><item id="item-ad0290f2-e1b0-41df-abcc-6fb521c6a916"><test>item-ad0290f2-e1b0-41df-abcc-6fb521c6a916</test></item></value></item></result>

2023-03-17 22:29:50 | [Mutex] notify: [retrieved:item:item-ad0290f2-e1b0-41df-abcc-6fb521c6a916:payload-matches:true:localhost]

2023-03-17 22:29:50 | [Mutex] received everything.

2023-03-17 22:29:50 | [Mutex] isItemNotified: retrieved:item:item-ad0290f2-e1b0-41df-abcc-6fb521c6a916:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-17 22:29:50 |

2023-03-17 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:50 | ------------------------------------

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

2023-03-17 22:29:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-4e46686a-9c9c-40af-8aac-6f2e57bcb987</value><value>test</value><value>node-f83f4bd8-b65c-40a5-aea0-6a839cc782f0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-17 22:29:50 |

2023-03-17 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:50 | ------------------------------------

2023-03-17 22:29:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4e46686a-9c9c-40af-8aac-6f2e57bcb987)</node-pattern></data>

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

subscribeNodes 1.105s
2023-03-17 22:29:48 |

2023-03-17 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:48 | ------------------------------------

2023-03-17 22:29:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4e46686a-9c9c-40af-8aac-6f2e57bcb987</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.191s
2023-03-17 22:29:50 |

2023-03-17 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-17 22:29:50 | ------------------------------------

2023-03-17 22:29:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4e46686a-9c9c-40af-8aac-6f2e57bcb987</node><jids><value>admin@test-domain.com</value></jids></data>

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