Generated by TestNG with ReportNG at 08:28 PST on Thursday 23 December 2021
root@785cf647a4ab / 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.333s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2021-12-23 08:43:41 |

2021-12-23 08:43:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-23 08:43:41 | ------------------------------------

2021-12-23 08:43:41 | [Mutex] waiting for: [configured:node:node-64a181bf-f497-4639-82db-15385d0fab77:node-a5db9ec9-694e-4977-984b-d1e47fe9df6c]

2021-12-23 08:43:41 | [Mutex] received everything.

2021-12-23 08:43:41 | [Mutex] isItemNotified: configured:node:node-64a181bf-f497-4639-82db-15385d0fab77:node-a5db9ec9-694e-4977-984b-d1e47fe9df6c :: true

2021-12-23 08:43:42 | [Mutex] waiting for: [received:nodes:abb61c7e-bc8f-4e44-842b-3f0db90fca4b:localhost]

2021-12-23 08:43:42 | [Mutex] received everything.

2021-12-23 08:43:42 | [Mutex] isItemNotified: received:node:abb61c7e-bc8f-4e44-842b-3f0db90fca4b:localhost:node-64a181bf-f497-4639-82db-15385d0fab77:Node 64a181bf-f497-4639-82db-15385d0fab77 :: true

2021-12-23 08:43:42 | [Mutex] waiting for: [received:nodes:b9490b99-4b0d-44e4-8b21-60ec93b3f83b:localhost]

2021-12-23 08:43:42 | [Mutex] received everything.

2021-12-23 08:43:42 | [Mutex] isItemNotified: received:node:b9490b99-4b0d-44e4-8b21-60ec93b3f83b:localhost:node-64a181bf-f497-4639-82db-15385d0fab77:Node 64a181bf-f497-4639-82db-15385d0fab77 :: false

createNodes 1.702s
2021-12-23 08:43:38 |

2021-12-23 08:43:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-23 08:43:38 | ------------------------------------

2021-12-23 08:43:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-64a181bf-f497-4639-82db-15385d0fab77</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 64a181bf-f497-4639-82db-15385d0fab77</title></pubsub></data>

2021-12-23 08:43:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-23 08:43:40 | [Mutex] waiting for: [received:nodes:e0688e3e-93de-4145-be21-f4050875bcfa:localhost]

2021-12-23 08:43:40 | [Mutex] received everything.

2021-12-23 08:43:40 | [Mutex] isItemNotified: received:node:e0688e3e-93de-4145-be21-f4050875bcfa:localhost:node-64a181bf-f497-4639-82db-15385d0fab77:Node 64a181bf-f497-4639-82db-15385d0fab77 :: true

createSubnodes 1.036s
2021-12-23 08:43:40 |

2021-12-23 08:43:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-23 08:43:40 | ------------------------------------

2021-12-23 08:43:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a5db9ec9-694e-4977-984b-d1e47fe9df6c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a5db9ec9-694e-4977-984b-d1e47fe9df6c</title></pubsub></data>

2021-12-23 08:43:40 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-23 08:43:41 | [Mutex] waiting for: [received:nodes:9f425b03-924a-4a83-8915-d9d299ddaabb:localhost]

2021-12-23 08:43:41 | [Mutex] received everything.

2021-12-23 08:43:41 | [Mutex] isItemNotified: received:node:9f425b03-924a-4a83-8915-d9d299ddaabb:localhost:node-a5db9ec9-694e-4977-984b-d1e47fe9df6c:Node a5db9ec9-694e-4977-984b-d1e47fe9df6c :: true

deleteNodes 1.022s
2021-12-23 08:43:47 |

2021-12-23 08:43:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-23 08:43:47 | ------------------------------------

2021-12-23 08:43:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a5db9ec9-694e-4977-984b-d1e47fe9df6c</node></data>

2021-12-23 08:43:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-23 08:43:48 | [Mutex] waiting for: [received:nodes:180c9566-871c-454c-9e4f-1fe165788095:localhost]

2021-12-23 08:43:48 | [Mutex] received everything.

2021-12-23 08:43:48 | [Mutex] isItemNotified: received:node:180c9566-871c-454c-9e4f-1fe165788095:localhost:node-a5db9ec9-694e-4977-984b-d1e47fe9df6c:Node a5db9ec9-694e-4977-984b-d1e47fe9df6c :: false

deleteSubnodes 1.136s
2021-12-23 08:43:45 |

2021-12-23 08:43:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-23 08:43:45 | ------------------------------------

2021-12-23 08:43:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-64a181bf-f497-4639-82db-15385d0fab77</node></data>

2021-12-23 08:43:46 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-23 08:43:47 | [Mutex] waiting for: [received:nodes:409bc5a6-9038-4e03-a3bf-713f820979cd:localhost]

2021-12-23 08:43:47 | [Mutex] received everything.

2021-12-23 08:43:47 | [Mutex] isItemNotified: received:node:409bc5a6-9038-4e03-a3bf-713f820979cd:localhost:node-64a181bf-f497-4639-82db-15385d0fab77:Node 64a181bf-f497-4639-82db-15385d0fab77 :: false

2021-12-23 08:43:47 | [Mutex] waiting for: [received:nodes:3b8613fd-683e-4b7c-a8d8-d377f00aaf27:localhost]

2021-12-23 08:43:47 | [Mutex] received everything.

2021-12-23 08:43:47 | [Mutex] isItemNotified: received:node:3b8613fd-683e-4b7c-a8d8-d377f00aaf27:localhost:node-64a181bf-f497-4639-82db-15385d0fab77:Node 64a181bf-f497-4639-82db-15385d0fab77 :: false

publishItemsToNodes 0.286s
2021-12-23 08:43:43 |

2021-12-23 08:43:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-23 08:43:43 | ------------------------------------

2021-12-23 08:43:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-64a181bf-f497-4639-82db-15385d0fab77</node><item-id>item-368b44f6-dd15-4e92-b556-4432658be221</item-id><entry><test>item-368b44f6-dd15-4e92-b556-4432658be221</test></entry></data>

2021-12-23 08:43:44 | 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-368b44f6-dd15-4e92-b556-4432658be221</value></item-id></result>

2021-12-23 08:43:44 | [Mutex] received everything.

2021-12-23 08:43:44 | [Mutex] isItemNotified: published:item:notifieditem-368b44f6-dd15-4e92-b556-4432658be221:admin@test-domain.com :: true

retractItemsFromNodes 0.252s
2021-12-23 08:43:44 |

2021-12-23 08:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-23 08:43:44 | ------------------------------------

2021-12-23 08:43:44 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-64a181bf-f497-4639-82db-15385d0fab77</node><item-id>item-368b44f6-dd15-4e92-b556-4432658be221</item-id></data>

2021-12-23 08:43:44 | 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-368b44f6-dd15-4e92-b556-4432658be221</value></item-id></result>

2021-12-23 08:43:44 | [Mutex] waiting for: [retracted:item:notifieditem-368b44f6-dd15-4e92-b556-4432658be221:admin@test-domain.com]

2021-12-23 08:43:44 | [Mutex] received everything.

2021-12-23 08:43:44 | [Mutex] isItemNotified: retracted:item:notifieditem-368b44f6-dd15-4e92-b556-4432658be221:admin@test-domain.com :: true

retrieveItemsFromNodes 0.270s
2021-12-23 08:43:44 |

2021-12-23 08:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-23 08:43:44 | ------------------------------------

2021-12-23 08:43:44 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-64a181bf-f497-4639-82db-15385d0fab77</node><item-id>item-368b44f6-dd15-4e92-b556-4432658be221</item-id></data>

2021-12-23 08:43:44 | 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-64a181bf-f497-4639-82db-15385d0fab77</value></node><item-id label="Item ID" type="text-single"><value>item-368b44f6-dd15-4e92-b556-4432658be221</value></item-id><item label="Item" type="text-multi"><value><item id="item-368b44f6-dd15-4e92-b556-4432658be221"><test>item-368b44f6-dd15-4e92-b556-4432658be221</test></item></value></item></result>

2021-12-23 08:43:44 | [Mutex] notify: [retrieved:item:item-368b44f6-dd15-4e92-b556-4432658be221:payload-matches:true:localhost]

2021-12-23 08:43:44 | [Mutex] received everything.

2021-12-23 08:43:44 | [Mutex] isItemNotified: retrieved:item:item-368b44f6-dd15-4e92-b556-4432658be221:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-12-23 08:43:44 |

2021-12-23 08:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-23 08:43:44 | ------------------------------------

2021-12-23 08:43:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-12-23 08:43:44 | 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-64a181bf-f497-4639-82db-15385d0fab77</value><value>node-a5db9ec9-694e-4977-984b-d1e47fe9df6c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-12-23 08:43:44 |

2021-12-23 08:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-23 08:43:44 | ------------------------------------

2021-12-23 08:43:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-64a181bf-f497-4639-82db-15385d0fab77)</node-pattern></data>

2021-12-23 08:43:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.217s
2021-12-23 08:43:42 |

2021-12-23 08:43:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-23 08:43:42 | ------------------------------------

2021-12-23 08:43:42 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-64a181bf-f497-4639-82db-15385d0fab77</node><jids><value>admin@test-domain.com</value></jids></data>

2021-12-23 08:43:42 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.257s
2021-12-23 08:43:44 |

2021-12-23 08:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-23 08:43:44 | ------------------------------------

2021-12-23 08:43:44 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-64a181bf-f497-4639-82db-15385d0fab77</node><jids><value>admin@test-domain.com</value></jids></data>

2021-12-23 08:43:44 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>