Generated by TestNG with ReportNG at 07:34 PDT on Friday 26 August 2022
root@f9c07ffec79b / 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.668s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2022-08-26 07:48:17 |

2022-08-26 07:48:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:48:17 | ------------------------------------

2022-08-26 07:48:17 | [Mutex] waiting for: [configured:node:node-5c091711-d802-4597-b628-4f38378fb36e:node-a291ed33-7c5d-463d-8b67-5e6609325f37]

2022-08-26 07:48:17 | [Mutex] received everything.

2022-08-26 07:48:17 | [Mutex] isItemNotified: configured:node:node-5c091711-d802-4597-b628-4f38378fb36e:node-a291ed33-7c5d-463d-8b67-5e6609325f37 :: true

2022-08-26 07:48:18 | [Mutex] waiting for: [received:nodes:a77a4a37-f7a1-4987-83e5-cbabb96bb1d4:localhost]

2022-08-26 07:48:18 | [Mutex] received everything.

2022-08-26 07:48:18 | [Mutex] isItemNotified: received:node:a77a4a37-f7a1-4987-83e5-cbabb96bb1d4:localhost:node-5c091711-d802-4597-b628-4f38378fb36e:Node 5c091711-d802-4597-b628-4f38378fb36e :: true

2022-08-26 07:48:18 | [Mutex] waiting for: [received:nodes:ec15e0fb-a4a5-4569-b94a-e99fec5f7619:localhost]

2022-08-26 07:48:18 | [Mutex] received everything.

2022-08-26 07:48:18 | [Mutex] isItemNotified: received:node:ec15e0fb-a4a5-4569-b94a-e99fec5f7619:localhost:node-5c091711-d802-4597-b628-4f38378fb36e:Node 5c091711-d802-4597-b628-4f38378fb36e :: false

createNodes 1.479s
2022-08-26 07:48:14 |

2022-08-26 07:48:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:48:14 | ------------------------------------

2022-08-26 07:48:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5c091711-d802-4597-b628-4f38378fb36e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5c091711-d802-4597-b628-4f38378fb36e</title></pubsub></data>

2022-08-26 07:48:15 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-26 07:48:16 | [Mutex] waiting for: [received:nodes:42cff63c-4a3f-439d-8074-0b5a9ef16179:localhost]

2022-08-26 07:48:16 | [Mutex] received everything.

2022-08-26 07:48:16 | [Mutex] isItemNotified: received:node:42cff63c-4a3f-439d-8074-0b5a9ef16179:localhost:node-5c091711-d802-4597-b628-4f38378fb36e:Node 5c091711-d802-4597-b628-4f38378fb36e :: true

createSubnodes 1.023s
2022-08-26 07:48:16 |

2022-08-26 07:48:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:48:16 | ------------------------------------

2022-08-26 07:48:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a291ed33-7c5d-463d-8b67-5e6609325f37</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a291ed33-7c5d-463d-8b67-5e6609325f37</title></pubsub></data>

2022-08-26 07:48:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-26 07:48:17 | [Mutex] waiting for: [received:nodes:b5a385e2-491e-4654-9dde-cb4abddd719a:localhost]

2022-08-26 07:48:17 | [Mutex] received everything.

2022-08-26 07:48:17 | [Mutex] isItemNotified: received:node:b5a385e2-491e-4654-9dde-cb4abddd719a:localhost:node-a291ed33-7c5d-463d-8b67-5e6609325f37:Node a291ed33-7c5d-463d-8b67-5e6609325f37 :: true

deleteNodes 1.016s
2022-08-26 07:48:22 |

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

2022-08-26 07:48:22 | ------------------------------------

2022-08-26 07:48:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a291ed33-7c5d-463d-8b67-5e6609325f37</node></data>

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

2022-08-26 07:48:23 | [Mutex] waiting for: [received:nodes:00c5fb06-6730-4c70-a96b-ea3e957cd81b:localhost]

2022-08-26 07:48:23 | [Mutex] received everything.

2022-08-26 07:48:23 | [Mutex] isItemNotified: received:node:00c5fb06-6730-4c70-a96b-ea3e957cd81b:localhost:node-a291ed33-7c5d-463d-8b67-5e6609325f37:Node a291ed33-7c5d-463d-8b67-5e6609325f37 :: false

deleteSubnodes 1.191s
2022-08-26 07:48:21 |

2022-08-26 07:48:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:48:21 | ------------------------------------

2022-08-26 07:48:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5c091711-d802-4597-b628-4f38378fb36e</node></data>

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

2022-08-26 07:48:22 | [Mutex] waiting for: [received:nodes:a68461fe-93a3-414e-be56-05f4e4961f8c:localhost]

2022-08-26 07:48:22 | [Mutex] received everything.

2022-08-26 07:48:22 | [Mutex] isItemNotified: received:node:a68461fe-93a3-414e-be56-05f4e4961f8c:localhost:node-5c091711-d802-4597-b628-4f38378fb36e:Node 5c091711-d802-4597-b628-4f38378fb36e :: false

2022-08-26 07:48:22 | [Mutex] waiting for: [received:nodes:2849f86b-370f-4455-9b5a-dea37cd1bd49:localhost]

2022-08-26 07:48:22 | [Mutex] received everything.

2022-08-26 07:48:22 | [Mutex] isItemNotified: received:node:2849f86b-370f-4455-9b5a-dea37cd1bd49:localhost:node-5c091711-d802-4597-b628-4f38378fb36e:Node 5c091711-d802-4597-b628-4f38378fb36e :: false

publishItemsToNodes 0.246s
2022-08-26 07:48:19 |

2022-08-26 07:48:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:48:19 | ------------------------------------

2022-08-26 07:48:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5c091711-d802-4597-b628-4f38378fb36e</node><item-id>item-f56f282b-3678-45cd-8f5d-c6240b757840</item-id><entry><test>item-f56f282b-3678-45cd-8f5d-c6240b757840</test></entry></data>

2022-08-26 07:48:19 | 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-f56f282b-3678-45cd-8f5d-c6240b757840</value></item-id></result>

2022-08-26 07:48:19 | [Mutex] received everything.

2022-08-26 07:48:19 | [Mutex] isItemNotified: published:item:notifieditem-f56f282b-3678-45cd-8f5d-c6240b757840:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2022-08-26 07:48:20 |

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

2022-08-26 07:48:20 | ------------------------------------

2022-08-26 07:48:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5c091711-d802-4597-b628-4f38378fb36e</node><item-id>item-f56f282b-3678-45cd-8f5d-c6240b757840</item-id></data>

2022-08-26 07:48:20 | 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-f56f282b-3678-45cd-8f5d-c6240b757840</value></item-id></result>

2022-08-26 07:48:20 | [Mutex] received everything.

2022-08-26 07:48:20 | [Mutex] isItemNotified: retracted:item:notifieditem-f56f282b-3678-45cd-8f5d-c6240b757840:admin@test-domain.com :: true

retrieveItemsFromNodes 0.254s
2022-08-26 07:48:19 |

2022-08-26 07:48:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:48:19 | ------------------------------------

2022-08-26 07:48:19 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5c091711-d802-4597-b628-4f38378fb36e</node><item-id>item-f56f282b-3678-45cd-8f5d-c6240b757840</item-id></data>

2022-08-26 07:48:19 | 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-5c091711-d802-4597-b628-4f38378fb36e</value></node><item-id type="text-single" label="Item ID"><value>item-f56f282b-3678-45cd-8f5d-c6240b757840</value></item-id><item type="text-multi" label="Item"><value><item id="item-f56f282b-3678-45cd-8f5d-c6240b757840"><test>item-f56f282b-3678-45cd-8f5d-c6240b757840</test></item></value></item></result>

2022-08-26 07:48:19 | [Mutex] notify: [retrieved:item:item-f56f282b-3678-45cd-8f5d-c6240b757840:payload-matches:true:localhost]

2022-08-26 07:48:19 | [Mutex] received everything.

2022-08-26 07:48:19 | [Mutex] isItemNotified: retrieved:item:item-f56f282b-3678-45cd-8f5d-c6240b757840:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-08-26 07:48:19 |

2022-08-26 07:48:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:48:19 | ------------------------------------

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

2022-08-26 07:48:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-a291ed33-7c5d-463d-8b67-5e6609325f37</value><value>test</value><value>node-5c091711-d802-4597-b628-4f38378fb36e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-08-26 07:48:19 |

2022-08-26 07:48:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:48:19 | ------------------------------------

2022-08-26 07:48:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5c091711-d802-4597-b628-4f38378fb36e)</node-pattern></data>

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

subscribeNodes 1.113s
2022-08-26 07:48:18 |

2022-08-26 07:48:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-26 07:48:18 | ------------------------------------

2022-08-26 07:48:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5c091711-d802-4597-b628-4f38378fb36e</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.158s
2022-08-26 07:48:20 |

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

2022-08-26 07:48:20 | ------------------------------------

2022-08-26 07:48:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5c091711-d802-4597-b628-4f38378fb36e</node><jids><value>admin@test-domain.com</value></jids></data>

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