Generated by TestNG with ReportNG at 22:52 PDT on Sunday 18 September 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.412s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.129s
2022-09-18 23:06:04 |

2022-09-18 23:06:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:06:04 | ------------------------------------

2022-09-18 23:06:04 | [Mutex] waiting for: [configured:node:node-3adc0260-abe9-4aa7-ba0a-ec55589276a3:node-a77163a6-39c5-47c6-afc3-407679598e34]

2022-09-18 23:06:04 | [Mutex] received everything.

2022-09-18 23:06:04 | [Mutex] isItemNotified: configured:node:node-3adc0260-abe9-4aa7-ba0a-ec55589276a3:node-a77163a6-39c5-47c6-afc3-407679598e34 :: true

2022-09-18 23:06:05 | [Mutex] waiting for: [received:nodes:c4e7efbd-c9ce-4d08-b52c-33b4bb5b5e94:localhost]

2022-09-18 23:06:05 | [Mutex] received everything.

2022-09-18 23:06:05 | [Mutex] isItemNotified: received:node:c4e7efbd-c9ce-4d08-b52c-33b4bb5b5e94:localhost:node-3adc0260-abe9-4aa7-ba0a-ec55589276a3:Node 3adc0260-abe9-4aa7-ba0a-ec55589276a3 :: true

2022-09-18 23:06:05 | [Mutex] waiting for: [received:nodes:1366ff22-48c2-40c0-a16f-14fb504c969f:localhost]

2022-09-18 23:06:05 | [Mutex] waiting for: [received:nodes:1366ff22-48c2-40c0-a16f-14fb504c969f:localhost]

2022-09-18 23:06:05 | [Mutex] received everything.

2022-09-18 23:06:05 | [Mutex] isItemNotified: received:node:1366ff22-48c2-40c0-a16f-14fb504c969f:localhost:node-3adc0260-abe9-4aa7-ba0a-ec55589276a3:Node 3adc0260-abe9-4aa7-ba0a-ec55589276a3 :: false

createNodes 1.354s
2022-09-18 23:06:02 |

2022-09-18 23:06:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:06:02 | ------------------------------------

2022-09-18 23:06:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3adc0260-abe9-4aa7-ba0a-ec55589276a3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3adc0260-abe9-4aa7-ba0a-ec55589276a3</title></pubsub></data>

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

2022-09-18 23:06:03 | [Mutex] waiting for: [received:nodes:31d0d82f-2aec-4357-bf92-e0c57b24c150:localhost]

2022-09-18 23:06:03 | [Mutex] received everything.

2022-09-18 23:06:03 | [Mutex] isItemNotified: received:node:31d0d82f-2aec-4357-bf92-e0c57b24c150:localhost:node-3adc0260-abe9-4aa7-ba0a-ec55589276a3:Node 3adc0260-abe9-4aa7-ba0a-ec55589276a3 :: true

createSubnodes 1.021s
2022-09-18 23:06:03 |

2022-09-18 23:06:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:06:03 | ------------------------------------

2022-09-18 23:06:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a77163a6-39c5-47c6-afc3-407679598e34</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a77163a6-39c5-47c6-afc3-407679598e34</title></pubsub></data>

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

2022-09-18 23:06:04 | [Mutex] waiting for: [received:nodes:2a4a414a-b2b4-409f-8cd5-b35c5c7f5339:localhost]

2022-09-18 23:06:04 | [Mutex] waiting for: [received:nodes:2a4a414a-b2b4-409f-8cd5-b35c5c7f5339:localhost]

2022-09-18 23:06:04 | [Mutex] received everything.

2022-09-18 23:06:04 | [Mutex] isItemNotified: received:node:2a4a414a-b2b4-409f-8cd5-b35c5c7f5339:localhost:node-a77163a6-39c5-47c6-afc3-407679598e34:Node a77163a6-39c5-47c6-afc3-407679598e34 :: true

deleteNodes 1.016s
2022-09-18 23:06:09 |

2022-09-18 23:06:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:06:09 | ------------------------------------

2022-09-18 23:06:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a77163a6-39c5-47c6-afc3-407679598e34</node></data>

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

2022-09-18 23:06:10 | [Mutex] waiting for: [received:nodes:0f8e7be4-a50b-44cc-a028-54329b62e36e:localhost]

2022-09-18 23:06:10 | [Mutex] waiting for: [received:nodes:0f8e7be4-a50b-44cc-a028-54329b62e36e:localhost]

2022-09-18 23:06:10 | [Mutex] waiting for: [received:nodes:0f8e7be4-a50b-44cc-a028-54329b62e36e:localhost]

2022-09-18 23:06:10 | [Mutex] received everything.

2022-09-18 23:06:10 | [Mutex] isItemNotified: received:node:0f8e7be4-a50b-44cc-a028-54329b62e36e:localhost:node-a77163a6-39c5-47c6-afc3-407679598e34:Node a77163a6-39c5-47c6-afc3-407679598e34 :: false

deleteSubnodes 1.141s
2022-09-18 23:06:08 |

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

2022-09-18 23:06:08 | ------------------------------------

2022-09-18 23:06:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3adc0260-abe9-4aa7-ba0a-ec55589276a3</node></data>

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

2022-09-18 23:06:09 | [Mutex] waiting for: [received:nodes:b2f6af4c-24e7-45cb-a3e9-03506aadbd5f:localhost]

2022-09-18 23:06:09 | [Mutex] waiting for: [received:nodes:b2f6af4c-24e7-45cb-a3e9-03506aadbd5f:localhost]

2022-09-18 23:06:09 | [Mutex] received everything.

2022-09-18 23:06:09 | [Mutex] isItemNotified: received:node:b2f6af4c-24e7-45cb-a3e9-03506aadbd5f:localhost:node-3adc0260-abe9-4aa7-ba0a-ec55589276a3:Node 3adc0260-abe9-4aa7-ba0a-ec55589276a3 :: false

2022-09-18 23:06:09 | [Mutex] waiting for: [received:nodes:b2b8447e-524c-4d53-92d7-655f03ef5612:localhost]

2022-09-18 23:06:09 | [Mutex] received everything.

2022-09-18 23:06:09 | [Mutex] isItemNotified: received:node:b2b8447e-524c-4d53-92d7-655f03ef5612:localhost:node-3adc0260-abe9-4aa7-ba0a-ec55589276a3:Node 3adc0260-abe9-4aa7-ba0a-ec55589276a3 :: false

publishItemsToNodes 0.184s
2022-09-18 23:06:06 |

2022-09-18 23:06:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:06:06 | ------------------------------------

2022-09-18 23:06:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3adc0260-abe9-4aa7-ba0a-ec55589276a3</node><item-id>item-9eae2daf-7d0c-4e97-9df9-2cb272a35fdf</item-id><entry><test>item-9eae2daf-7d0c-4e97-9df9-2cb272a35fdf</test></entry></data>

2022-09-18 23:06: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-9eae2daf-7d0c-4e97-9df9-2cb272a35fdf</value></item-id></result>

2022-09-18 23:06:06 | [Mutex] waiting for: [published:item:notifieditem-9eae2daf-7d0c-4e97-9df9-2cb272a35fdf:admin@test-domain.com]

2022-09-18 23:06:06 | [Mutex] received everything.

2022-09-18 23:06:06 | [Mutex] isItemNotified: published:item:notifieditem-9eae2daf-7d0c-4e97-9df9-2cb272a35fdf:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2022-09-18 23:06:07 |

2022-09-18 23:06:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:06:07 | ------------------------------------

2022-09-18 23:06:07 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3adc0260-abe9-4aa7-ba0a-ec55589276a3</node><item-id>item-9eae2daf-7d0c-4e97-9df9-2cb272a35fdf</item-id></data>

2022-09-18 23:06: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-9eae2daf-7d0c-4e97-9df9-2cb272a35fdf</value></item-id></result>

2022-09-18 23:06:07 | [Mutex] received everything.

2022-09-18 23:06:07 | [Mutex] isItemNotified: retracted:item:notifieditem-9eae2daf-7d0c-4e97-9df9-2cb272a35fdf:admin@test-domain.com :: true

retrieveItemsFromNodes 0.251s
2022-09-18 23:06:06 |

2022-09-18 23:06:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:06:06 | ------------------------------------

2022-09-18 23:06:06 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3adc0260-abe9-4aa7-ba0a-ec55589276a3</node><item-id>item-9eae2daf-7d0c-4e97-9df9-2cb272a35fdf</item-id></data>

2022-09-18 23:06: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-3adc0260-abe9-4aa7-ba0a-ec55589276a3</value></node><item-id type="text-single" label="Item ID"><value>item-9eae2daf-7d0c-4e97-9df9-2cb272a35fdf</value></item-id><item type="text-multi" label="Item"><value><item id="item-9eae2daf-7d0c-4e97-9df9-2cb272a35fdf"><test>item-9eae2daf-7d0c-4e97-9df9-2cb272a35fdf</test></item></value></item></result>

2022-09-18 23:06:07 | [Mutex] notify: [retrieved:item:item-9eae2daf-7d0c-4e97-9df9-2cb272a35fdf:payload-matches:true:localhost]

2022-09-18 23:06:07 | [Mutex] received everything.

2022-09-18 23:06:07 | [Mutex] isItemNotified: retrieved:item:item-9eae2daf-7d0c-4e97-9df9-2cb272a35fdf:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-09-18 23:06:07 |

2022-09-18 23:06:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:06:07 | ------------------------------------

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

2022-09-18 23:06:07 | 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-3adc0260-abe9-4aa7-ba0a-ec55589276a3</value><value>node-a77163a6-39c5-47c6-afc3-407679598e34</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-18 23:06:07 |

2022-09-18 23:06:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:06:07 | ------------------------------------

2022-09-18 23:06: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-3adc0260-abe9-4aa7-ba0a-ec55589276a3)</node-pattern></data>

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

subscribeNodes 1.120s
2022-09-18 23:06:05 |

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

2022-09-18 23:06:05 | ------------------------------------

2022-09-18 23:06:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3adc0260-abe9-4aa7-ba0a-ec55589276a3</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-18 23:06: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-09-18 23:06:07 |

2022-09-18 23:06:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 23:06:07 | ------------------------------------

2022-09-18 23:06:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3adc0260-abe9-4aa7-ba0a-ec55589276a3</node><jids><value>admin@test-domain.com</value></jids></data>

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