Generated by TestNG with ReportNG at 22:25 PDT on Thursday 19 May 2022
root@21fb2cc9076b / 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.668s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.080s
2022-05-19 22:40:56 |

2022-05-19 22:40:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 22:40:56 | ------------------------------------

2022-05-19 22:40:56 | [Mutex] waiting for: [configured:node:node-37d9b729-6ae5-433c-b5a1-d1323299f4b6:node-55a24c0d-4324-4821-8846-b63df475c054]

2022-05-19 22:40:56 | [Mutex] received everything.

2022-05-19 22:40:56 | [Mutex] isItemNotified: configured:node:node-37d9b729-6ae5-433c-b5a1-d1323299f4b6:node-55a24c0d-4324-4821-8846-b63df475c054 :: true

2022-05-19 22:40:57 | [Mutex] waiting for: [received:nodes:55ae5654-822f-4470-a826-4156f808a536:localhost]

2022-05-19 22:40:57 | [Mutex] received everything.

2022-05-19 22:40:57 | [Mutex] isItemNotified: received:node:55ae5654-822f-4470-a826-4156f808a536:localhost:node-37d9b729-6ae5-433c-b5a1-d1323299f4b6:Node 37d9b729-6ae5-433c-b5a1-d1323299f4b6 :: true

2022-05-19 22:40:57 | [Mutex] waiting for: [received:nodes:8015a7cb-2574-4cfe-a2b2-11109c960078:localhost]

2022-05-19 22:40:57 | [Mutex] received everything.

2022-05-19 22:40:57 | [Mutex] isItemNotified: received:node:8015a7cb-2574-4cfe-a2b2-11109c960078:localhost:node-37d9b729-6ae5-433c-b5a1-d1323299f4b6:Node 37d9b729-6ae5-433c-b5a1-d1323299f4b6 :: false

createNodes 1.481s
2022-05-19 22:40:53 |

2022-05-19 22:40:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 22:40:53 | ------------------------------------

2022-05-19 22:40:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-37d9b729-6ae5-433c-b5a1-d1323299f4b6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 37d9b729-6ae5-433c-b5a1-d1323299f4b6</title></pubsub></data>

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

2022-05-19 22:40:55 | [Mutex] waiting for: [received:nodes:809f6175-6f0c-48b6-a446-92030a8dd140:localhost]

2022-05-19 22:40:55 | [Mutex] received everything.

2022-05-19 22:40:55 | [Mutex] isItemNotified: received:node:809f6175-6f0c-48b6-a446-92030a8dd140:localhost:node-37d9b729-6ae5-433c-b5a1-d1323299f4b6:Node 37d9b729-6ae5-433c-b5a1-d1323299f4b6 :: true

createSubnodes 1.033s
2022-05-19 22:40:55 |

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

2022-05-19 22:40:55 | ------------------------------------

2022-05-19 22:40:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-55a24c0d-4324-4821-8846-b63df475c054</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 55a24c0d-4324-4821-8846-b63df475c054</title></pubsub></data>

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

2022-05-19 22:40:56 | [Mutex] waiting for: [received:nodes:3b7a9785-63fe-46a0-a81a-468cb35bb70a:localhost]

2022-05-19 22:40:56 | [Mutex] received everything.

2022-05-19 22:40:56 | [Mutex] isItemNotified: received:node:3b7a9785-63fe-46a0-a81a-468cb35bb70a:localhost:node-55a24c0d-4324-4821-8846-b63df475c054:Node 55a24c0d-4324-4821-8846-b63df475c054 :: true

deleteNodes 1.024s
2022-05-19 22:41:01 |

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

2022-05-19 22:41:01 | ------------------------------------

2022-05-19 22:41:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-55a24c0d-4324-4821-8846-b63df475c054</node></data>

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

2022-05-19 22:41:02 | [Mutex] waiting for: [received:nodes:1478df23-d142-47f7-b472-1608c8365ba9:localhost]

2022-05-19 22:41:02 | [Mutex] received everything.

2022-05-19 22:41:02 | [Mutex] isItemNotified: received:node:1478df23-d142-47f7-b472-1608c8365ba9:localhost:node-55a24c0d-4324-4821-8846-b63df475c054:Node 55a24c0d-4324-4821-8846-b63df475c054 :: false

deleteSubnodes 1.128s
2022-05-19 22:41:00 |

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

2022-05-19 22:41:00 | ------------------------------------

2022-05-19 22:41:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-37d9b729-6ae5-433c-b5a1-d1323299f4b6</node></data>

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

2022-05-19 22:41:01 | [Mutex] waiting for: [received:nodes:afeee37a-6014-4965-8c78-30bd4834ab96:localhost]

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

2022-05-19 22:41:01 | [Mutex] isItemNotified: received:node:afeee37a-6014-4965-8c78-30bd4834ab96:localhost:node-37d9b729-6ae5-433c-b5a1-d1323299f4b6:Node 37d9b729-6ae5-433c-b5a1-d1323299f4b6 :: false

2022-05-19 22:41:01 | [Mutex] waiting for: [received:nodes:3f7ebcbd-78fe-45ca-8161-773325e9ee9c:localhost]

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

2022-05-19 22:41:01 | [Mutex] isItemNotified: received:node:3f7ebcbd-78fe-45ca-8161-773325e9ee9c:localhost:node-37d9b729-6ae5-433c-b5a1-d1323299f4b6:Node 37d9b729-6ae5-433c-b5a1-d1323299f4b6 :: false

publishItemsToNodes 0.285s
2022-05-19 22:40:58 |

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

2022-05-19 22:40:58 | ------------------------------------

2022-05-19 22:40:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-37d9b729-6ae5-433c-b5a1-d1323299f4b6</node><item-id>item-2feaebba-83f6-4399-b38c-84407feb6fc5</item-id><entry><test>item-2feaebba-83f6-4399-b38c-84407feb6fc5</test></entry></data>

2022-05-19 22:40:58 | 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-2feaebba-83f6-4399-b38c-84407feb6fc5</value></item-id></result>

2022-05-19 22:40:58 | [Mutex] received everything.

2022-05-19 22:40:58 | [Mutex] isItemNotified: published:item:notifieditem-2feaebba-83f6-4399-b38c-84407feb6fc5:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2022-05-19 22:40:59 |

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

2022-05-19 22:40:59 | ------------------------------------

2022-05-19 22:40:59 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-37d9b729-6ae5-433c-b5a1-d1323299f4b6</node><item-id>item-2feaebba-83f6-4399-b38c-84407feb6fc5</item-id></data>

2022-05-19 22:40:59 | 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-2feaebba-83f6-4399-b38c-84407feb6fc5</value></item-id></result>

2022-05-19 22:40:59 | [Mutex] received everything.

2022-05-19 22:40:59 | [Mutex] isItemNotified: retracted:item:notifieditem-2feaebba-83f6-4399-b38c-84407feb6fc5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.225s
2022-05-19 22:40:58 |

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

2022-05-19 22:40:58 | ------------------------------------

2022-05-19 22:40:58 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-37d9b729-6ae5-433c-b5a1-d1323299f4b6</node><item-id>item-2feaebba-83f6-4399-b38c-84407feb6fc5</item-id></data>

2022-05-19 22:40:59 | 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-37d9b729-6ae5-433c-b5a1-d1323299f4b6</value></node><item-id label="Item ID" type="text-single"><value>item-2feaebba-83f6-4399-b38c-84407feb6fc5</value></item-id><item label="Item" type="text-multi"><value><item id="item-2feaebba-83f6-4399-b38c-84407feb6fc5"><test>item-2feaebba-83f6-4399-b38c-84407feb6fc5</test></item></value></item></result>

2022-05-19 22:40:59 | [Mutex] notify: [retrieved:item:item-2feaebba-83f6-4399-b38c-84407feb6fc5:payload-matches:true:localhost]

2022-05-19 22:40:59 | [Mutex] received everything.

2022-05-19 22:40:59 | [Mutex] isItemNotified: retrieved:item:item-2feaebba-83f6-4399-b38c-84407feb6fc5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-05-19 22:40:59 |

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

2022-05-19 22:40:59 | ------------------------------------

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

2022-05-19 22:40:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-37d9b729-6ae5-433c-b5a1-d1323299f4b6</value><value>test</value><value>node-55a24c0d-4324-4821-8846-b63df475c054</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-19 22:40:59 |

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

2022-05-19 22:40:59 | ------------------------------------

2022-05-19 22:40:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-37d9b729-6ae5-433c-b5a1-d1323299f4b6)</node-pattern></data>

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

subscribeNodes 1.152s
2022-05-19 22:40:57 |

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

2022-05-19 22:40:57 | ------------------------------------

2022-05-19 22:40:57 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-37d9b729-6ae5-433c-b5a1-d1323299f4b6</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.167s
2022-05-19 22:40:59 |

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

2022-05-19 22:40:59 | ------------------------------------

2022-05-19 22:40:59 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-37d9b729-6ae5-433c-b5a1-d1323299f4b6</node><jids><value>admin@test-domain.com</value></jids></data>

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