Generated by TestNG with ReportNG at 22:34 PST on Tuesday 16 November 2021
root@b2c2a8eba6e6 / 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.275s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2021-11-16 22:49:02 |

2021-11-16 22:49:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:49:02 | ------------------------------------

2021-11-16 22:49:02 | [Mutex] waiting for: [configured:node:node-d047dbe3-d3e2-4af9-9886-05293a495048:node-85f0570e-e777-4a93-b615-235981fcd349]

2021-11-16 22:49:02 | [Mutex] received everything.

2021-11-16 22:49:02 | [Mutex] isItemNotified: configured:node:node-d047dbe3-d3e2-4af9-9886-05293a495048:node-85f0570e-e777-4a93-b615-235981fcd349 :: true

2021-11-16 22:49:03 | [Mutex] waiting for: [received:nodes:312a8c47-ada3-4218-a21f-ad93a885c622:localhost]

2021-11-16 22:49:03 | [Mutex] received everything.

2021-11-16 22:49:03 | [Mutex] isItemNotified: received:node:312a8c47-ada3-4218-a21f-ad93a885c622:localhost:node-d047dbe3-d3e2-4af9-9886-05293a495048:Node d047dbe3-d3e2-4af9-9886-05293a495048 :: true

2021-11-16 22:49:03 | [Mutex] waiting for: [received:nodes:b6423119-129d-410e-ae29-62d8fed557f0:localhost]

2021-11-16 22:49:03 | [Mutex] received everything.

2021-11-16 22:49:03 | [Mutex] isItemNotified: received:node:b6423119-129d-410e-ae29-62d8fed557f0:localhost:node-d047dbe3-d3e2-4af9-9886-05293a495048:Node d047dbe3-d3e2-4af9-9886-05293a495048 :: false

createNodes 1.531s
2021-11-16 22:48:59 |

2021-11-16 22:48:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:48:59 | ------------------------------------

2021-11-16 22:48:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d047dbe3-d3e2-4af9-9886-05293a495048</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d047dbe3-d3e2-4af9-9886-05293a495048</title></pubsub></data>

2021-11-16 22:49:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-16 22:49:01 | [Mutex] waiting for: [received:nodes:c52ecca5-90cb-45fe-a603-052d5054dcb0:localhost]

2021-11-16 22:49:01 | [Mutex] received everything.

2021-11-16 22:49:01 | [Mutex] isItemNotified: received:node:c52ecca5-90cb-45fe-a603-052d5054dcb0:localhost:node-d047dbe3-d3e2-4af9-9886-05293a495048:Node d047dbe3-d3e2-4af9-9886-05293a495048 :: true

createSubnodes 1.031s
2021-11-16 22:49:01 |

2021-11-16 22:49:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:49:01 | ------------------------------------

2021-11-16 22:49:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-85f0570e-e777-4a93-b615-235981fcd349</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 85f0570e-e777-4a93-b615-235981fcd349</title></pubsub></data>

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

2021-11-16 22:49:02 | [Mutex] waiting for: [received:nodes:5f18ecac-335a-4416-91b6-f43b248af63b:localhost]

2021-11-16 22:49:02 | [Mutex] received everything.

2021-11-16 22:49:02 | [Mutex] isItemNotified: received:node:5f18ecac-335a-4416-91b6-f43b248af63b:localhost:node-85f0570e-e777-4a93-b615-235981fcd349:Node 85f0570e-e777-4a93-b615-235981fcd349 :: true

deleteNodes 1.017s
2021-11-16 22:49:07 |

2021-11-16 22:49:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:49:07 | ------------------------------------

2021-11-16 22:49:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-85f0570e-e777-4a93-b615-235981fcd349</node></data>

2021-11-16 22:49:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-16 22:49:08 | [Mutex] waiting for: [received:nodes:9d0deef1-d2a5-4f63-8387-1b0c02268665:localhost]

2021-11-16 22:49:08 | [Mutex] waiting for: [received:nodes:9d0deef1-d2a5-4f63-8387-1b0c02268665:localhost]

2021-11-16 22:49:08 | [Mutex] received everything.

2021-11-16 22:49:08 | [Mutex] isItemNotified: received:node:9d0deef1-d2a5-4f63-8387-1b0c02268665:localhost:node-85f0570e-e777-4a93-b615-235981fcd349:Node 85f0570e-e777-4a93-b615-235981fcd349 :: false

deleteSubnodes 1.161s
2021-11-16 22:49:06 |

2021-11-16 22:49:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:49:06 | ------------------------------------

2021-11-16 22:49:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d047dbe3-d3e2-4af9-9886-05293a495048</node></data>

2021-11-16 22:49:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-16 22:49:07 | [Mutex] waiting for: [received:nodes:ae418c77-99a7-42b0-b7fe-85cd6f0cafc3:localhost]

2021-11-16 22:49:07 | [Mutex] received everything.

2021-11-16 22:49:07 | [Mutex] isItemNotified: received:node:ae418c77-99a7-42b0-b7fe-85cd6f0cafc3:localhost:node-d047dbe3-d3e2-4af9-9886-05293a495048:Node d047dbe3-d3e2-4af9-9886-05293a495048 :: false

2021-11-16 22:49:07 | [Mutex] waiting for: [received:nodes:b6ae3584-67e9-4db9-b8f8-cfae28269087:localhost]

2021-11-16 22:49:07 | [Mutex] received everything.

2021-11-16 22:49:07 | [Mutex] isItemNotified: received:node:b6ae3584-67e9-4db9-b8f8-cfae28269087:localhost:node-d047dbe3-d3e2-4af9-9886-05293a495048:Node d047dbe3-d3e2-4af9-9886-05293a495048 :: false

publishItemsToNodes 0.234s
2021-11-16 22:49:04 |

2021-11-16 22:49:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:49:04 | ------------------------------------

2021-11-16 22:49:04 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d047dbe3-d3e2-4af9-9886-05293a495048</node><item-id>item-8ea80f97-b4b4-4663-801e-c4987323d2db</item-id><entry><test>item-8ea80f97-b4b4-4663-801e-c4987323d2db</test></entry></data>

2021-11-16 22:49:04 | 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-8ea80f97-b4b4-4663-801e-c4987323d2db</value></item-id></result>

2021-11-16 22:49:04 | [Mutex] waiting for: [published:item:notifieditem-8ea80f97-b4b4-4663-801e-c4987323d2db:admin@test-domain.com]

2021-11-16 22:49:04 | [Mutex] received everything.

2021-11-16 22:49:04 | [Mutex] isItemNotified: published:item:notifieditem-8ea80f97-b4b4-4663-801e-c4987323d2db:admin@test-domain.com :: true

retractItemsFromNodes 0.403s
2021-11-16 22:49:05 |

2021-11-16 22:49:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:49:05 | ------------------------------------

2021-11-16 22:49:05 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d047dbe3-d3e2-4af9-9886-05293a495048</node><item-id>item-8ea80f97-b4b4-4663-801e-c4987323d2db</item-id></data>

2021-11-16 22:49:05 | 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-8ea80f97-b4b4-4663-801e-c4987323d2db</value></item-id></result>

2021-11-16 22:49:05 | [Mutex] received everything.

2021-11-16 22:49:05 | [Mutex] isItemNotified: retracted:item:notifieditem-8ea80f97-b4b4-4663-801e-c4987323d2db:admin@test-domain.com :: true

retrieveItemsFromNodes 0.306s
2021-11-16 22:49:04 |

2021-11-16 22:49:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:49:04 | ------------------------------------

2021-11-16 22:49:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d047dbe3-d3e2-4af9-9886-05293a495048</node><item-id>item-8ea80f97-b4b4-4663-801e-c4987323d2db</item-id></data>

2021-11-16 22:49:05 | 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-d047dbe3-d3e2-4af9-9886-05293a495048</value></node><item-id type="text-single" label="Item ID"><value>item-8ea80f97-b4b4-4663-801e-c4987323d2db</value></item-id><item type="text-multi" label="Item"><value><item id="item-8ea80f97-b4b4-4663-801e-c4987323d2db"><test>item-8ea80f97-b4b4-4663-801e-c4987323d2db</test></item></value></item></result>

2021-11-16 22:49:05 | [Mutex] notify: [retrieved:item:item-8ea80f97-b4b4-4663-801e-c4987323d2db:payload-matches:true:localhost]

2021-11-16 22:49:05 | [Mutex] received everything.

2021-11-16 22:49:05 | [Mutex] isItemNotified: retrieved:item:item-8ea80f97-b4b4-4663-801e-c4987323d2db:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-11-16 22:49:05 |

2021-11-16 22:49:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:49:05 | ------------------------------------

2021-11-16 22:49:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-11-16 22:49:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-d047dbe3-d3e2-4af9-9886-05293a495048</value><value>node-85f0570e-e777-4a93-b615-235981fcd349</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-11-16 22:49:05 |

2021-11-16 22:49:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:49:05 | ------------------------------------

2021-11-16 22:49:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d047dbe3-d3e2-4af9-9886-05293a495048)</node-pattern></data>

2021-11-16 22:49:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.163s
2021-11-16 22:49:03 |

2021-11-16 22:49:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:49:03 | ------------------------------------

2021-11-16 22:49:03 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d047dbe3-d3e2-4af9-9886-05293a495048</node><jids><value>admin@test-domain.com</value></jids></data>

2021-11-16 22:49:03 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.271s
2021-11-16 22:49:05 |

2021-11-16 22:49:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-16 22:49:05 | ------------------------------------

2021-11-16 22:49:05 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d047dbe3-d3e2-4af9-9886-05293a495048</node><jids><value>admin@test-domain.com</value></jids></data>

2021-11-16 22:49:05 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>