Generated by TestNG with ReportNG at 21:56 PST on Wednesday 19 January 2022
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / 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 : 10.419s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2022-01-19 22:11:58 |

2022-01-19 22:11:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:11:58 | ------------------------------------

2022-01-19 22:11:58 | [Mutex] waiting for: [configured:node:node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb:node-8bba0822-dca0-409a-804a-abbef9c55b88]

2022-01-19 22:11:58 | [Mutex] received everything.

2022-01-19 22:11:58 | [Mutex] isItemNotified: configured:node:node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb:node-8bba0822-dca0-409a-804a-abbef9c55b88 :: true

2022-01-19 22:11:59 | [Mutex] waiting for: [received:nodes:5c277927-b56c-4a2b-9fa1-78fec3f7de91:localhost]

2022-01-19 22:11:59 | [Mutex] waiting for: [received:nodes:5c277927-b56c-4a2b-9fa1-78fec3f7de91:localhost]

2022-01-19 22:11:59 | [Mutex] received everything.

2022-01-19 22:11:59 | [Mutex] isItemNotified: received:node:5c277927-b56c-4a2b-9fa1-78fec3f7de91:localhost:node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb:Node 5e34ece0-8dfa-4ab4-900a-7a68e2db97cb :: true

2022-01-19 22:11:59 | [Mutex] waiting for: [received:nodes:510fc7ee-7fed-41aa-a2a9-22ed23ff4092:localhost]

2022-01-19 22:11:59 | [Mutex] waiting for: [received:nodes:510fc7ee-7fed-41aa-a2a9-22ed23ff4092:localhost]

2022-01-19 22:11:59 | [Mutex] waiting for: [received:nodes:510fc7ee-7fed-41aa-a2a9-22ed23ff4092:localhost]

2022-01-19 22:11:59 | [Mutex] received everything.

2022-01-19 22:11:59 | [Mutex] isItemNotified: received:node:510fc7ee-7fed-41aa-a2a9-22ed23ff4092:localhost:node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb:Node 5e34ece0-8dfa-4ab4-900a-7a68e2db97cb :: false

createNodes 1.773s
2022-01-19 22:11:55 |

2022-01-19 22:11:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:11:55 | ------------------------------------

2022-01-19 22:11:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5e34ece0-8dfa-4ab4-900a-7a68e2db97cb</title></pubsub></data>

2022-01-19 22:11:56 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-01-19 22:11:57 | [Mutex] waiting for: [received:nodes:dcf22eb4-124c-415a-a487-35488cc79506:localhost]

2022-01-19 22:11:57 | [Mutex] received everything.

2022-01-19 22:11:57 | [Mutex] isItemNotified: received:node:dcf22eb4-124c-415a-a487-35488cc79506:localhost:node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb:Node 5e34ece0-8dfa-4ab4-900a-7a68e2db97cb :: true

createSubnodes 1.031s
2022-01-19 22:11:57 |

2022-01-19 22:11:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:11:57 | ------------------------------------

2022-01-19 22:11:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8bba0822-dca0-409a-804a-abbef9c55b88</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8bba0822-dca0-409a-804a-abbef9c55b88</title></pubsub></data>

2022-01-19 22:11:57 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-01-19 22:11:58 | [Mutex] waiting for: [received:nodes:b0204543-e180-497d-8601-6cb5c11ec723:localhost]

2022-01-19 22:11:58 | [Mutex] received everything.

2022-01-19 22:11:58 | [Mutex] isItemNotified: received:node:b0204543-e180-497d-8601-6cb5c11ec723:localhost:node-8bba0822-dca0-409a-804a-abbef9c55b88:Node 8bba0822-dca0-409a-804a-abbef9c55b88 :: true

deleteNodes 1.018s
2022-01-19 22:12:04 |

2022-01-19 22:12:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:12:04 | ------------------------------------

2022-01-19 22:12:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8bba0822-dca0-409a-804a-abbef9c55b88</node></data>

2022-01-19 22:12:04 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-01-19 22:12:05 | [Mutex] waiting for: [received:nodes:d2048c39-9cb1-4cf9-a5fe-360762b5afb4:localhost]

2022-01-19 22:12:05 | [Mutex] received everything.

2022-01-19 22:12:05 | [Mutex] isItemNotified: received:node:d2048c39-9cb1-4cf9-a5fe-360762b5afb4:localhost:node-8bba0822-dca0-409a-804a-abbef9c55b88:Node 8bba0822-dca0-409a-804a-abbef9c55b88 :: false

deleteSubnodes 1.130s
2022-01-19 22:12:02 |

2022-01-19 22:12:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:12:02 | ------------------------------------

2022-01-19 22:12:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb</node></data>

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

2022-01-19 22:12:04 | [Mutex] waiting for: [received:nodes:02be300f-5365-4987-b44a-e27a9471e422:localhost]

2022-01-19 22:12:04 | [Mutex] waiting for: [received:nodes:02be300f-5365-4987-b44a-e27a9471e422:localhost]

2022-01-19 22:12:04 | [Mutex] waiting for: [received:nodes:02be300f-5365-4987-b44a-e27a9471e422:localhost]

2022-01-19 22:12:04 | [Mutex] received everything.

2022-01-19 22:12:04 | [Mutex] isItemNotified: received:node:02be300f-5365-4987-b44a-e27a9471e422:localhost:node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb:Node 5e34ece0-8dfa-4ab4-900a-7a68e2db97cb :: false

2022-01-19 22:12:04 | [Mutex] waiting for: [received:nodes:f8ce1f92-8a95-4903-90d3-7d81bf050e81:localhost]

2022-01-19 22:12:04 | [Mutex] received everything.

2022-01-19 22:12:04 | [Mutex] isItemNotified: received:node:f8ce1f92-8a95-4903-90d3-7d81bf050e81:localhost:node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb:Node 5e34ece0-8dfa-4ab4-900a-7a68e2db97cb :: false

publishItemsToNodes 0.237s
2022-01-19 22:12:00 |

2022-01-19 22:12:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:12:00 | ------------------------------------

2022-01-19 22:12:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb</node><item-id>item-8c7a22e2-4e9d-4c04-9397-54a34e477fa1</item-id><entry><test>item-8c7a22e2-4e9d-4c04-9397-54a34e477fa1</test></entry></data>

2022-01-19 22:12:00 | 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-8c7a22e2-4e9d-4c04-9397-54a34e477fa1</value></item-id></result>

2022-01-19 22:12:00 | [Mutex] waiting for: [published:item:notifieditem-8c7a22e2-4e9d-4c04-9397-54a34e477fa1:admin@test-domain.com]

2022-01-19 22:12:00 | [Mutex] received everything.

2022-01-19 22:12:00 | [Mutex] isItemNotified: published:item:notifieditem-8c7a22e2-4e9d-4c04-9397-54a34e477fa1:admin@test-domain.com :: true

retractItemsFromNodes 0.251s
2022-01-19 22:12:01 |

2022-01-19 22:12:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:12:01 | ------------------------------------

2022-01-19 22:12:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb</node><item-id>item-8c7a22e2-4e9d-4c04-9397-54a34e477fa1</item-id></data>

2022-01-19 22:12:01 | 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-8c7a22e2-4e9d-4c04-9397-54a34e477fa1</value></item-id></result>

2022-01-19 22:12:01 | [Mutex] received everything.

2022-01-19 22:12:01 | [Mutex] isItemNotified: retracted:item:notifieditem-8c7a22e2-4e9d-4c04-9397-54a34e477fa1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.364s
2022-01-19 22:12:00 |

2022-01-19 22:12:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:12:00 | ------------------------------------

2022-01-19 22:12:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb</node><item-id>item-8c7a22e2-4e9d-4c04-9397-54a34e477fa1</item-id></data>

2022-01-19 22:12:01 | 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-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb</value></node><item-id label="Item ID" type="text-single"><value>item-8c7a22e2-4e9d-4c04-9397-54a34e477fa1</value></item-id><item label="Item" type="text-multi"><value><item id="item-8c7a22e2-4e9d-4c04-9397-54a34e477fa1"><test>item-8c7a22e2-4e9d-4c04-9397-54a34e477fa1</test></item></value></item></result>

2022-01-19 22:12:01 | [Mutex] notify: [retrieved:item:item-8c7a22e2-4e9d-4c04-9397-54a34e477fa1:payload-matches:true:localhost]

2022-01-19 22:12:01 | [Mutex] received everything.

2022-01-19 22:12:01 | [Mutex] isItemNotified: retrieved:item:item-8c7a22e2-4e9d-4c04-9397-54a34e477fa1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-01-19 22:12:01 |

2022-01-19 22:12:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:12:01 | ------------------------------------

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

2022-01-19 22:12:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb</value><value>node-8bba0822-dca0-409a-804a-abbef9c55b88</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.060s
2022-01-19 22:12:01 |

2022-01-19 22:12:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:12:01 | ------------------------------------

2022-01-19 22:12:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb)</node-pattern></data>

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

subscribeNodes 1.214s
2022-01-19 22:11:59 |

2022-01-19 22:11:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:11:59 | ------------------------------------

2022-01-19 22:11:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb</node><jids><value>admin@test-domain.com</value></jids></data>

2022-01-19 22:11:59 | 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-01-19 22:12:01 |

2022-01-19 22:12:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-19 22:12:01 | ------------------------------------

2022-01-19 22:12:01 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5e34ece0-8dfa-4ab4-900a-7a68e2db97cb</node><jids><value>admin@test-domain.com</value></jids></data>

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