Generated by TestNG with ReportNG at 22:31 PDT on Wednesday 26 August 2020
root@729cee58eda8 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.578s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.782s
2020-08-26 22:49:14 |

2020-08-26 22:49:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-08-26 22:49:14 | ------------------------------------

2020-08-26 22:49:14 | [Mutex] isItemNotified: node_eg5vgr0203:exists :: false

2020-08-26 22:49:14 | [Mutex] waiting for: [node_eg5vgr0203:create_node]

2020-08-26 22:49:14 | [Mutex] received everything.

2020-08-26 22:49:14 | [Mutex] isItemNotified: node_eg5vgr0203:create_node:success :: true

2020-08-26 22:49:14 | [Mutex] waiting for: [node_eg5vgr0203:subscribe_node]

2020-08-26 22:49:14 | [Mutex] waiting for: [node_eg5vgr0203:subscribe_node]

2020-08-26 22:49:14 | [Mutex] received everything.

2020-08-26 22:49:14 | [Mutex] isItemNotified: node_eg5vgr0203:subscribe_node:success :: true

2020-08-26 22:49:14 |


===== publishing normal message (to online)


2020-08-26 22:49:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-26 22:49:14 | command: <data><node>node_eg5vgr0203</node><entry><content>content_6w1rg80204</content></entry></data>

2020-08-26 22:49:14 | target: http://localhost:8088

2020-08-26 22:49:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-26 22:49:14 | entity: <data><node>node_eg5vgr0203</node><entry><content>content_6w1rg80204</content></entry></data>

2020-08-26 22:49:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:49:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-26 22:49:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d2a50332-d07a-450e-bf2a-be210864d290</value></item-id></result>

2020-08-26 22:49:14 | contains: true

2020-08-26 22:49:14 | [Mutex] received everything.

2020-08-26 22:49:14 | [Mutex] isItemNotified: user_regular2aikob0202@test-domain.com:message:received:content_6w1rg80204 :: true

2020-08-26 22:49:14 |


===== publishing already old message - expecting message being filtered out (to online)


2020-08-26 22:49:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-26 22:49:14 | command: <data><node>node_eg5vgr0203</node><expire-at>2020-08-27T05:49:09Z</expire-at><entry><content>content_77p03n0205</content></entry></data>

2020-08-26 22:49:14 | target: http://localhost:8088

2020-08-26 22:49:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-26 22:49:14 | entity: <data><node>node_eg5vgr0203</node><expire-at>2020-08-27T05:49:09Z</expire-at><entry><content>content_77p03n0205</content></entry></data>

2020-08-26 22:49:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:49:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-26 22:49:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>784b9a2c-c2fd-4655-b1c9-377b01332102</value></item-id></result>

2020-08-26 22:49:14 | contains: true

2020-08-26 22:49:14 | [Mutex] waiting for: [user_regular2aikob0202@test-domain.com:message:received:content_77p03n0205]

2020-08-26 22:49:29 | [Mutex] timeout. Not received [user_regular2aikob0202@test-domain.com:message:received:content_77p03n0205]

2020-08-26 22:49:29 | [Mutex] isItemNotified: user_regular2aikob0202@test-domain.com:message:received:content_77p03n0205 :: false

2020-08-26 22:49:29 |


===== publishing normal message (to offline)


2020-08-26 22:49:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-26 22:49:29 | command: <data><node>node_eg5vgr0203</node><entry><content>content_bo23wf0206</content></entry></data>

2020-08-26 22:49:29 | target: http://localhost:8088

2020-08-26 22:49:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-26 22:49:29 | entity: <data><node>node_eg5vgr0203</node><entry><content>content_bo23wf0206</content></entry></data>

2020-08-26 22:49:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:49:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-26 22:49:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0bc1aa79-e1a0-476a-bbc3-3e3a698f95aa</value></item-id></result>

2020-08-26 22:49:29 | contains: true

2020-08-26 22:49:34 | [Mutex] waiting for: [user_regular2aikob0202@test-domain.com:message:received:content_bo23wf0206]

2020-08-26 22:49:34 | [Mutex] received everything.

2020-08-26 22:49:34 | [Mutex] isItemNotified: user_regular2aikob0202@test-domain.com:message:received:content_bo23wf0206 :: true

2020-08-26 22:49:34 |


===== publishing already old message - expecting message being filtered out (to offline)


2020-08-26 22:49:34 | [Mutex] received everything.

2020-08-26 22:49:34 | [Mutex] isItemNotified: node_eg5vgr0203:subscribe_node:success :: true

2020-08-26 22:49:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-26 22:49:34 | command: <data><node>node_eg5vgr0203</node><expire-at>2020-08-27T05:49:39Z</expire-at><entry><content>content_6i1pki0207</content></entry></data>

2020-08-26 22:49:34 | target: http://localhost:8088

2020-08-26 22:49:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-26 22:49:34 | entity: <data><node>node_eg5vgr0203</node><expire-at>2020-08-27T05:49:39Z</expire-at><entry><content>content_6i1pki0207</content></entry></data>

2020-08-26 22:49:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:49:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-26 22:49:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bc92f0bd-4a2d-4601-978a-901c4d798b75</value></item-id></result>

2020-08-26 22:49:34 | contains: true

2020-08-26 22:49:42 | [Mutex] waiting for: [user_regular2aikob0202@test-domain.com:message:received:content_6i1pki0207]

2020-08-26 22:49:42 | [Mutex] waiting for: [user_regular2aikob0202@test-domain.com:message:received:content_6i1pki0207]

2020-08-26 22:49:57 | [Mutex] timeout. Not received [user_regular2aikob0202@test-domain.com:message:received:content_6i1pki0207]

2020-08-26 22:49:57 | [Mutex] received everything.

2020-08-26 22:49:57 | [Mutex] isItemNotified: user_regular2aikob0202@test-domain.com:message:received:content_6i1pki0207 :: false

2020-08-26 22:49:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6i1pki0207 :: true