Generated by TestNG with ReportNG at 23:05 PDT on Sunday 08 May 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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 : 9.781s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2022-05-08 23:20:04 |

2022-05-08 23:20:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:20:04 | ------------------------------------

2022-05-08 23:20:04 | [Mutex] waiting for: [configured:node:node-294bf920-a6b2-4df9-9739-9230599235c0:node-53a87844-9338-4025-aa8d-818cbc947828]

2022-05-08 23:20:04 | [Mutex] received everything.

2022-05-08 23:20:04 | [Mutex] isItemNotified: configured:node:node-294bf920-a6b2-4df9-9739-9230599235c0:node-53a87844-9338-4025-aa8d-818cbc947828 :: true

2022-05-08 23:20:05 | [Mutex] waiting for: [received:nodes:3f1b2ff5-37c4-495c-bde0-1168cfddb6b1:localhost]

2022-05-08 23:20:05 | [Mutex] received everything.

2022-05-08 23:20:05 | [Mutex] isItemNotified: received:node:3f1b2ff5-37c4-495c-bde0-1168cfddb6b1:localhost:node-294bf920-a6b2-4df9-9739-9230599235c0:Node 294bf920-a6b2-4df9-9739-9230599235c0 :: true

2022-05-08 23:20:05 | [Mutex] waiting for: [received:nodes:aa4d05cd-8ef0-4d66-be04-6c1f31acbf3b:localhost]

2022-05-08 23:20:05 | [Mutex] waiting for: [received:nodes:aa4d05cd-8ef0-4d66-be04-6c1f31acbf3b:localhost]

2022-05-08 23:20:05 | [Mutex] received everything.

2022-05-08 23:20:05 | [Mutex] isItemNotified: received:node:aa4d05cd-8ef0-4d66-be04-6c1f31acbf3b:localhost:node-294bf920-a6b2-4df9-9739-9230599235c0:Node 294bf920-a6b2-4df9-9739-9230599235c0 :: false

createNodes 1.523s
2022-05-08 23:20:01 |

2022-05-08 23:20:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:20:01 | ------------------------------------

2022-05-08 23:20:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-294bf920-a6b2-4df9-9739-9230599235c0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 294bf920-a6b2-4df9-9739-9230599235c0</title></pubsub></data>

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

2022-05-08 23:20:03 | [Mutex] waiting for: [received:nodes:cc58a6eb-8d4f-4b50-9b8a-8fb63d7c2cc7:localhost]

2022-05-08 23:20:03 | [Mutex] received everything.

2022-05-08 23:20:03 | [Mutex] isItemNotified: received:node:cc58a6eb-8d4f-4b50-9b8a-8fb63d7c2cc7:localhost:node-294bf920-a6b2-4df9-9739-9230599235c0:Node 294bf920-a6b2-4df9-9739-9230599235c0 :: true

createSubnodes 1.029s
2022-05-08 23:20:03 |

2022-05-08 23:20:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:20:03 | ------------------------------------

2022-05-08 23:20:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-53a87844-9338-4025-aa8d-818cbc947828</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 53a87844-9338-4025-aa8d-818cbc947828</title></pubsub></data>

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

2022-05-08 23:20:04 | [Mutex] waiting for: [received:nodes:5bbeb492-b233-485c-b9a8-d0e3a4f96105:localhost]

2022-05-08 23:20:04 | [Mutex] waiting for: [received:nodes:5bbeb492-b233-485c-b9a8-d0e3a4f96105:localhost]

2022-05-08 23:20:04 | [Mutex] received everything.

2022-05-08 23:20:04 | [Mutex] isItemNotified: received:node:5bbeb492-b233-485c-b9a8-d0e3a4f96105:localhost:node-53a87844-9338-4025-aa8d-818cbc947828:Node 53a87844-9338-4025-aa8d-818cbc947828 :: true

deleteNodes 1.018s
2022-05-08 23:20:09 |

2022-05-08 23:20:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:20:09 | ------------------------------------

2022-05-08 23:20:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-53a87844-9338-4025-aa8d-818cbc947828</node></data>

2022-05-08 23:20:09 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-08 23:20:10 | [Mutex] waiting for: [received:nodes:1631f413-964c-46d2-83dd-d1e8dc055882:localhost]

2022-05-08 23:20:10 | [Mutex] received everything.

2022-05-08 23:20:10 | [Mutex] isItemNotified: received:node:1631f413-964c-46d2-83dd-d1e8dc055882:localhost:node-53a87844-9338-4025-aa8d-818cbc947828:Node 53a87844-9338-4025-aa8d-818cbc947828 :: false

deleteSubnodes 1.151s
2022-05-08 23:20:08 |

2022-05-08 23:20:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:20:08 | ------------------------------------

2022-05-08 23:20:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-294bf920-a6b2-4df9-9739-9230599235c0</node></data>

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

2022-05-08 23:20:09 | [Mutex] waiting for: [received:nodes:497b7932-282a-4689-b715-a30f4bfdc2c6:localhost]

2022-05-08 23:20:09 | [Mutex] received everything.

2022-05-08 23:20:09 | [Mutex] isItemNotified: received:node:497b7932-282a-4689-b715-a30f4bfdc2c6:localhost:node-294bf920-a6b2-4df9-9739-9230599235c0:Node 294bf920-a6b2-4df9-9739-9230599235c0 :: false

2022-05-08 23:20:09 | [Mutex] waiting for: [received:nodes:efa180e8-18ea-4f83-b505-946626389d76:localhost]

2022-05-08 23:20:09 | [Mutex] received everything.

2022-05-08 23:20:09 | [Mutex] isItemNotified: received:node:efa180e8-18ea-4f83-b505-946626389d76:localhost:node-294bf920-a6b2-4df9-9739-9230599235c0:Node 294bf920-a6b2-4df9-9739-9230599235c0 :: false

publishItemsToNodes 0.197s
2022-05-08 23:20:06 |

2022-05-08 23:20:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:20:06 | ------------------------------------

2022-05-08 23:20:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-294bf920-a6b2-4df9-9739-9230599235c0</node><item-id>item-8bd5827f-4db1-4c56-ba91-222d4b1eb2df</item-id><entry><test>item-8bd5827f-4db1-4c56-ba91-222d4b1eb2df</test></entry></data>

2022-05-08 23:20:06 | 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-8bd5827f-4db1-4c56-ba91-222d4b1eb2df</value></item-id></result>

2022-05-08 23:20:06 | [Mutex] received everything.

2022-05-08 23:20:06 | [Mutex] isItemNotified: published:item:notifieditem-8bd5827f-4db1-4c56-ba91-222d4b1eb2df:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2022-05-08 23:20:07 |

2022-05-08 23:20:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:20:07 | ------------------------------------

2022-05-08 23:20:07 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-294bf920-a6b2-4df9-9739-9230599235c0</node><item-id>item-8bd5827f-4db1-4c56-ba91-222d4b1eb2df</item-id></data>

2022-05-08 23:20:07 | 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-8bd5827f-4db1-4c56-ba91-222d4b1eb2df</value></item-id></result>

2022-05-08 23:20:07 | [Mutex] received everything.

2022-05-08 23:20:07 | [Mutex] isItemNotified: retracted:item:notifieditem-8bd5827f-4db1-4c56-ba91-222d4b1eb2df:admin@test-domain.com :: true

retrieveItemsFromNodes 0.260s
2022-05-08 23:20:06 |

2022-05-08 23:20:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:20:06 | ------------------------------------

2022-05-08 23:20:06 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-294bf920-a6b2-4df9-9739-9230599235c0</node><item-id>item-8bd5827f-4db1-4c56-ba91-222d4b1eb2df</item-id></data>

2022-05-08 23:20:07 | 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-294bf920-a6b2-4df9-9739-9230599235c0</value></node><item-id type="text-single" label="Item ID"><value>item-8bd5827f-4db1-4c56-ba91-222d4b1eb2df</value></item-id><item type="text-multi" label="Item"><value><item id="item-8bd5827f-4db1-4c56-ba91-222d4b1eb2df"><test>item-8bd5827f-4db1-4c56-ba91-222d4b1eb2df</test></item></value></item></result>

2022-05-08 23:20:07 | [Mutex] notify: [retrieved:item:item-8bd5827f-4db1-4c56-ba91-222d4b1eb2df:payload-matches:true:localhost]

2022-05-08 23:20:07 | [Mutex] received everything.

2022-05-08 23:20:07 | [Mutex] isItemNotified: retrieved:item:item-8bd5827f-4db1-4c56-ba91-222d4b1eb2df:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-08 23:20:07 |

2022-05-08 23:20:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:20:07 | ------------------------------------

2022-05-08 23:20:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-08 23:20:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-53a87844-9338-4025-aa8d-818cbc947828</value><value>node-294bf920-a6b2-4df9-9739-9230599235c0</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-05-08 23:20:07 |

2022-05-08 23:20:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:20:07 | ------------------------------------

2022-05-08 23:20:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-294bf920-a6b2-4df9-9739-9230599235c0)</node-pattern></data>

2022-05-08 23:20:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.165s
2022-05-08 23:20:05 |

2022-05-08 23:20:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:20:05 | ------------------------------------

2022-05-08 23:20:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-294bf920-a6b2-4df9-9739-9230599235c0</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.199s
2022-05-08 23:20:07 |

2022-05-08 23:20:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 23:20:07 | ------------------------------------

2022-05-08 23:20:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-294bf920-a6b2-4df9-9739-9230599235c0</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-08 23:20:07 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>