Generated by TestNG with ReportNG at 22:20 PDT on Sunday 27 March 2022
root@61c39d2ed70d / 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.624s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2022-03-27 22:34:52 |

2022-03-27 22:34:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-27 22:34:52 | ------------------------------------

2022-03-27 22:34:52 | [Mutex] waiting for: [configured:node:node-45f96c2a-9c78-40c6-91d9-65c98bbe6701:node-90adf1c5-4cc4-42ce-9723-d66ba5d45176]

2022-03-27 22:34:52 | [Mutex] received everything.

2022-03-27 22:34:52 | [Mutex] isItemNotified: configured:node:node-45f96c2a-9c78-40c6-91d9-65c98bbe6701:node-90adf1c5-4cc4-42ce-9723-d66ba5d45176 :: true

2022-03-27 22:34:53 | [Mutex] waiting for: [received:nodes:8e4e3721-4ddf-4ebe-909b-3a6175104234:localhost]

2022-03-27 22:34:53 | [Mutex] received everything.

2022-03-27 22:34:53 | [Mutex] isItemNotified: received:node:8e4e3721-4ddf-4ebe-909b-3a6175104234:localhost:node-45f96c2a-9c78-40c6-91d9-65c98bbe6701:Node 45f96c2a-9c78-40c6-91d9-65c98bbe6701 :: true

2022-03-27 22:34:53 | [Mutex] waiting for: [received:nodes:dcbff798-0254-44cb-84f1-50d6fdf90b77:localhost]

2022-03-27 22:34:53 | [Mutex] waiting for: [received:nodes:dcbff798-0254-44cb-84f1-50d6fdf90b77:localhost]

2022-03-27 22:34:53 | [Mutex] waiting for: [received:nodes:dcbff798-0254-44cb-84f1-50d6fdf90b77:localhost]

2022-03-27 22:34:53 | [Mutex] received everything.

2022-03-27 22:34:53 | [Mutex] isItemNotified: received:node:dcbff798-0254-44cb-84f1-50d6fdf90b77:localhost:node-45f96c2a-9c78-40c6-91d9-65c98bbe6701:Node 45f96c2a-9c78-40c6-91d9-65c98bbe6701 :: false

createNodes 1.486s
2022-03-27 22:34:50 |

2022-03-27 22:34:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-27 22:34:50 | ------------------------------------

2022-03-27 22:34:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-45f96c2a-9c78-40c6-91d9-65c98bbe6701</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 45f96c2a-9c78-40c6-91d9-65c98bbe6701</title></pubsub></data>

2022-03-27 22:34:50 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-27 22:34:51 | [Mutex] waiting for: [received:nodes:5dd95a57-91e5-45ab-a07f-a13fc342362b:localhost]

2022-03-27 22:34:51 | [Mutex] waiting for: [received:nodes:5dd95a57-91e5-45ab-a07f-a13fc342362b:localhost]

2022-03-27 22:34:51 | [Mutex] received everything.

2022-03-27 22:34:51 | [Mutex] isItemNotified: received:node:5dd95a57-91e5-45ab-a07f-a13fc342362b:localhost:node-45f96c2a-9c78-40c6-91d9-65c98bbe6701:Node 45f96c2a-9c78-40c6-91d9-65c98bbe6701 :: true

createSubnodes 1.027s
2022-03-27 22:34:51 |

2022-03-27 22:34:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-27 22:34:51 | ------------------------------------

2022-03-27 22:34:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-90adf1c5-4cc4-42ce-9723-d66ba5d45176</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 90adf1c5-4cc4-42ce-9723-d66ba5d45176</title></pubsub></data>

2022-03-27 22:34:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-27 22:34:52 | [Mutex] waiting for: [received:nodes:6fdc13c4-d41f-464e-83c7-fcbf64fe5fd1:localhost]

2022-03-27 22:34:52 | [Mutex] waiting for: [received:nodes:6fdc13c4-d41f-464e-83c7-fcbf64fe5fd1:localhost]

2022-03-27 22:34:52 | [Mutex] received everything.

2022-03-27 22:34:52 | [Mutex] isItemNotified: received:node:6fdc13c4-d41f-464e-83c7-fcbf64fe5fd1:localhost:node-90adf1c5-4cc4-42ce-9723-d66ba5d45176:Node 90adf1c5-4cc4-42ce-9723-d66ba5d45176 :: true

deleteNodes 1.023s
2022-03-27 22:34:57 |

2022-03-27 22:34:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-27 22:34:57 | ------------------------------------

2022-03-27 22:34:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-90adf1c5-4cc4-42ce-9723-d66ba5d45176</node></data>

2022-03-27 22:34:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-27 22:34:58 | [Mutex] waiting for: [received:nodes:5a7d6c03-7930-4a5d-bfc0-cfe8e5ee70db:localhost]

2022-03-27 22:34:58 | [Mutex] received everything.

2022-03-27 22:34:58 | [Mutex] isItemNotified: received:node:5a7d6c03-7930-4a5d-bfc0-cfe8e5ee70db:localhost:node-90adf1c5-4cc4-42ce-9723-d66ba5d45176:Node 90adf1c5-4cc4-42ce-9723-d66ba5d45176 :: false

deleteSubnodes 1.168s
2022-03-27 22:34:56 |

2022-03-27 22:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-27 22:34:56 | ------------------------------------

2022-03-27 22:34:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-45f96c2a-9c78-40c6-91d9-65c98bbe6701</node></data>

2022-03-27 22:34:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-27 22:34:57 | [Mutex] waiting for: [received:nodes:975080a1-a169-4e0e-aa19-c59491741df9:localhost]

2022-03-27 22:34:57 | [Mutex] received everything.

2022-03-27 22:34:57 | [Mutex] isItemNotified: received:node:975080a1-a169-4e0e-aa19-c59491741df9:localhost:node-45f96c2a-9c78-40c6-91d9-65c98bbe6701:Node 45f96c2a-9c78-40c6-91d9-65c98bbe6701 :: false

2022-03-27 22:34:57 | [Mutex] waiting for: [received:nodes:f5baafe0-cd8d-4d67-afc4-7c2d741016a3:localhost]

2022-03-27 22:34:57 | [Mutex] received everything.

2022-03-27 22:34:57 | [Mutex] isItemNotified: received:node:f5baafe0-cd8d-4d67-afc4-7c2d741016a3:localhost:node-45f96c2a-9c78-40c6-91d9-65c98bbe6701:Node 45f96c2a-9c78-40c6-91d9-65c98bbe6701 :: false

publishItemsToNodes 0.213s
2022-03-27 22:34:54 |

2022-03-27 22:34:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-27 22:34:54 | ------------------------------------

2022-03-27 22:34:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-45f96c2a-9c78-40c6-91d9-65c98bbe6701</node><item-id>item-b37d8d7d-0b14-49d5-922f-f94b74bd7ae9</item-id><entry><test>item-b37d8d7d-0b14-49d5-922f-f94b74bd7ae9</test></entry></data>

2022-03-27 22:34:54 | 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-b37d8d7d-0b14-49d5-922f-f94b74bd7ae9</value></item-id></result>

2022-03-27 22:34:54 | [Mutex] waiting for: [published:item:notifieditem-b37d8d7d-0b14-49d5-922f-f94b74bd7ae9:admin@test-domain.com]

2022-03-27 22:34:54 | [Mutex] received everything.

2022-03-27 22:34:54 | [Mutex] isItemNotified: published:item:notifieditem-b37d8d7d-0b14-49d5-922f-f94b74bd7ae9:admin@test-domain.com :: true

retractItemsFromNodes 0.288s
2022-03-27 22:34:55 |

2022-03-27 22:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-27 22:34:55 | ------------------------------------

2022-03-27 22:34:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-45f96c2a-9c78-40c6-91d9-65c98bbe6701</node><item-id>item-b37d8d7d-0b14-49d5-922f-f94b74bd7ae9</item-id></data>

2022-03-27 22:34:55 | 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-b37d8d7d-0b14-49d5-922f-f94b74bd7ae9</value></item-id></result>

2022-03-27 22:34:55 | [Mutex] received everything.

2022-03-27 22:34:55 | [Mutex] isItemNotified: retracted:item:notifieditem-b37d8d7d-0b14-49d5-922f-f94b74bd7ae9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.225s
2022-03-27 22:34:54 |

2022-03-27 22:34:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-27 22:34:54 | ------------------------------------

2022-03-27 22:34:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-45f96c2a-9c78-40c6-91d9-65c98bbe6701</node><item-id>item-b37d8d7d-0b14-49d5-922f-f94b74bd7ae9</item-id></data>

2022-03-27 22:34:55 | 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-45f96c2a-9c78-40c6-91d9-65c98bbe6701</value></node><item-id label="Item ID" type="text-single"><value>item-b37d8d7d-0b14-49d5-922f-f94b74bd7ae9</value></item-id><item label="Item" type="text-multi"><value><item id="item-b37d8d7d-0b14-49d5-922f-f94b74bd7ae9"><test>item-b37d8d7d-0b14-49d5-922f-f94b74bd7ae9</test></item></value></item></result>

2022-03-27 22:34:55 | [Mutex] notify: [retrieved:item:item-b37d8d7d-0b14-49d5-922f-f94b74bd7ae9:payload-matches:true:localhost]

2022-03-27 22:34:55 | [Mutex] received everything.

2022-03-27 22:34:55 | [Mutex] isItemNotified: retrieved:item:item-b37d8d7d-0b14-49d5-922f-f94b74bd7ae9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-03-27 22:34:55 |

2022-03-27 22:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-27 22:34:55 | ------------------------------------

2022-03-27 22:34:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-03-27 22:34:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-45f96c2a-9c78-40c6-91d9-65c98bbe6701</value><value>test</value><value>node-90adf1c5-4cc4-42ce-9723-d66ba5d45176</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-03-27 22:34:55 |

2022-03-27 22:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-27 22:34:55 | ------------------------------------

2022-03-27 22:34:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-45f96c2a-9c78-40c6-91d9-65c98bbe6701)</node-pattern></data>

2022-03-27 22:34:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.106s
2022-03-27 22:34:53 |

2022-03-27 22:34:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-27 22:34:53 | ------------------------------------

2022-03-27 22:34:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-45f96c2a-9c78-40c6-91d9-65c98bbe6701</node><jids><value>admin@test-domain.com</value></jids></data>

2022-03-27 22:34:53 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.212s
2022-03-27 22:34:55 |

2022-03-27 22:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-27 22:34:55 | ------------------------------------

2022-03-27 22:34:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-45f96c2a-9c78-40c6-91d9-65c98bbe6701</node><jids><value>admin@test-domain.com</value></jids></data>

2022-03-27 22:34:55 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>