Generated by TestNG with ReportNG at 22:58 PDT on Thursday 06 October 2022
root@7c41cec37518 / 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.347s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.115s
2022-10-06 23:13:30 |

2022-10-06 23:13:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-06 23:13:30 | ------------------------------------

2022-10-06 23:13:30 | [Mutex] waiting for: [configured:node:node-a409cdbc-649c-4088-99ec-874df19a5b48:node-fd00d539-9629-4c0b-9057-db2c75ae1768]

2022-10-06 23:13:31 | [Mutex] received everything.

2022-10-06 23:13:31 | [Mutex] isItemNotified: configured:node:node-a409cdbc-649c-4088-99ec-874df19a5b48:node-fd00d539-9629-4c0b-9057-db2c75ae1768 :: true

2022-10-06 23:13:32 | [Mutex] waiting for: [received:nodes:f822cbdb-6241-4cb6-86af-7eb5e98e4e21:localhost]

2022-10-06 23:13:32 | [Mutex] received everything.

2022-10-06 23:13:32 | [Mutex] isItemNotified: received:node:f822cbdb-6241-4cb6-86af-7eb5e98e4e21:localhost:node-a409cdbc-649c-4088-99ec-874df19a5b48:Node a409cdbc-649c-4088-99ec-874df19a5b48 :: true

2022-10-06 23:13:32 | [Mutex] waiting for: [received:nodes:a2a1cb39-9447-4778-a220-96b763173314:localhost]

2022-10-06 23:13:32 | [Mutex] received everything.

2022-10-06 23:13:32 | [Mutex] isItemNotified: received:node:a2a1cb39-9447-4778-a220-96b763173314:localhost:node-a409cdbc-649c-4088-99ec-874df19a5b48:Node a409cdbc-649c-4088-99ec-874df19a5b48 :: false

createNodes 1.383s
2022-10-06 23:13:28 |

2022-10-06 23:13:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-06 23:13:28 | ------------------------------------

2022-10-06 23:13:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a409cdbc-649c-4088-99ec-874df19a5b48</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a409cdbc-649c-4088-99ec-874df19a5b48</title></pubsub></data>

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

2022-10-06 23:13:29 | [Mutex] waiting for: [received:nodes:6c48941a-fd09-47df-bfc8-8eda51961b4b:localhost]

2022-10-06 23:13:29 | [Mutex] received everything.

2022-10-06 23:13:29 | [Mutex] isItemNotified: received:node:6c48941a-fd09-47df-bfc8-8eda51961b4b:localhost:node-a409cdbc-649c-4088-99ec-874df19a5b48:Node a409cdbc-649c-4088-99ec-874df19a5b48 :: true

createSubnodes 1.025s
2022-10-06 23:13:29 |

2022-10-06 23:13:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-06 23:13:29 | ------------------------------------

2022-10-06 23:13:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fd00d539-9629-4c0b-9057-db2c75ae1768</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fd00d539-9629-4c0b-9057-db2c75ae1768</title></pubsub></data>

2022-10-06 23:13:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-06 23:13:30 | [Mutex] waiting for: [received:nodes:5e451c2a-f1f4-44d6-b8cd-4d41af2a7a03:localhost]

2022-10-06 23:13:30 | [Mutex] received everything.

2022-10-06 23:13:30 | [Mutex] isItemNotified: received:node:5e451c2a-f1f4-44d6-b8cd-4d41af2a7a03:localhost:node-fd00d539-9629-4c0b-9057-db2c75ae1768:Node fd00d539-9629-4c0b-9057-db2c75ae1768 :: true

deleteNodes 1.017s
2022-10-06 23:13:36 |

2022-10-06 23:13:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-06 23:13:36 | ------------------------------------

2022-10-06 23:13:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fd00d539-9629-4c0b-9057-db2c75ae1768</node></data>

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

2022-10-06 23:13:37 | [Mutex] waiting for: [received:nodes:146ba8b9-8ff0-4983-8a0a-b91f145aaf94:localhost]

2022-10-06 23:13:37 | [Mutex] received everything.

2022-10-06 23:13:37 | [Mutex] isItemNotified: received:node:146ba8b9-8ff0-4983-8a0a-b91f145aaf94:localhost:node-fd00d539-9629-4c0b-9057-db2c75ae1768:Node fd00d539-9629-4c0b-9057-db2c75ae1768 :: false

deleteSubnodes 1.132s
2022-10-06 23:13:35 |

2022-10-06 23:13:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-06 23:13:35 | ------------------------------------

2022-10-06 23:13:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a409cdbc-649c-4088-99ec-874df19a5b48</node></data>

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

2022-10-06 23:13:36 | [Mutex] waiting for: [received:nodes:87d555b0-861b-4b05-8666-b32cbe6cf231:localhost]

2022-10-06 23:13:36 | [Mutex] waiting for: [received:nodes:87d555b0-861b-4b05-8666-b32cbe6cf231:localhost]

2022-10-06 23:13:36 | [Mutex] received everything.

2022-10-06 23:13:36 | [Mutex] isItemNotified: received:node:87d555b0-861b-4b05-8666-b32cbe6cf231:localhost:node-a409cdbc-649c-4088-99ec-874df19a5b48:Node a409cdbc-649c-4088-99ec-874df19a5b48 :: false

2022-10-06 23:13:36 | [Mutex] waiting for: [received:nodes:41b817c3-75f8-44d6-a2c6-f8189a62b3d0:localhost]

2022-10-06 23:13:36 | [Mutex] received everything.

2022-10-06 23:13:36 | [Mutex] isItemNotified: received:node:41b817c3-75f8-44d6-a2c6-f8189a62b3d0:localhost:node-a409cdbc-649c-4088-99ec-874df19a5b48:Node a409cdbc-649c-4088-99ec-874df19a5b48 :: false

publishItemsToNodes 0.204s
2022-10-06 23:13:33 |

2022-10-06 23:13:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-06 23:13:33 | ------------------------------------

2022-10-06 23:13:33 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a409cdbc-649c-4088-99ec-874df19a5b48</node><item-id>item-2d4223ca-f469-40e3-a745-1096275f047a</item-id><entry><test>item-2d4223ca-f469-40e3-a745-1096275f047a</test></entry></data>

2022-10-06 23:13:33 | 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-2d4223ca-f469-40e3-a745-1096275f047a</value></item-id></result>

2022-10-06 23:13:33 | [Mutex] received everything.

2022-10-06 23:13:33 | [Mutex] isItemNotified: published:item:notifieditem-2d4223ca-f469-40e3-a745-1096275f047a:admin@test-domain.com :: true

retractItemsFromNodes 0.223s
2022-10-06 23:13:33 |

2022-10-06 23:13:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-06 23:13:33 | ------------------------------------

2022-10-06 23:13:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a409cdbc-649c-4088-99ec-874df19a5b48</node><item-id>item-2d4223ca-f469-40e3-a745-1096275f047a</item-id></data>

2022-10-06 23:13:33 | 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-2d4223ca-f469-40e3-a745-1096275f047a</value></item-id></result>

2022-10-06 23:13:33 | [Mutex] received everything.

2022-10-06 23:13:33 | [Mutex] isItemNotified: retracted:item:notifieditem-2d4223ca-f469-40e3-a745-1096275f047a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.270s
2022-10-06 23:13:33 |

2022-10-06 23:13:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-06 23:13:33 | ------------------------------------

2022-10-06 23:13:33 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a409cdbc-649c-4088-99ec-874df19a5b48</node><item-id>item-2d4223ca-f469-40e3-a745-1096275f047a</item-id></data>

2022-10-06 23:13:33 | 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-a409cdbc-649c-4088-99ec-874df19a5b48</value></node><item-id label="Item ID" type="text-single"><value>item-2d4223ca-f469-40e3-a745-1096275f047a</value></item-id><item label="Item" type="text-multi"><value><item id="item-2d4223ca-f469-40e3-a745-1096275f047a"><test>item-2d4223ca-f469-40e3-a745-1096275f047a</test></item></value></item></result>

2022-10-06 23:13:33 | [Mutex] notify: [retrieved:item:item-2d4223ca-f469-40e3-a745-1096275f047a:payload-matches:true:localhost]

2022-10-06 23:13:33 | [Mutex] received everything.

2022-10-06 23:13:33 | [Mutex] isItemNotified: retrieved:item:item-2d4223ca-f469-40e3-a745-1096275f047a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-06 23:13:33 |

2022-10-06 23:13:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-06 23:13:33 | ------------------------------------

2022-10-06 23:13:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-10-06 23:13:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-fd00d539-9629-4c0b-9057-db2c75ae1768</value><value>test</value><value>node-a409cdbc-649c-4088-99ec-874df19a5b48</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-10-06 23:13:33 |

2022-10-06 23:13:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-06 23:13:33 | ------------------------------------

2022-10-06 23:13:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a409cdbc-649c-4088-99ec-874df19a5b48)</node-pattern></data>

2022-10-06 23:13:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.112s
2022-10-06 23:13:32 |

2022-10-06 23:13:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-06 23:13:32 | ------------------------------------

2022-10-06 23:13:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a409cdbc-649c-4088-99ec-874df19a5b48</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.131s
2022-10-06 23:13:33 |

2022-10-06 23:13:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-06 23:13:33 | ------------------------------------

2022-10-06 23:13:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a409cdbc-649c-4088-99ec-874df19a5b48</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-06 23:13:34 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>