Generated by TestNG with ReportNG at 22:21 PDT on Thursday 18 March 2021
root@eaa73862192b / 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.212s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.608s
2021-03-18 22:38:19 |

2021-03-18 22:38:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-18 22:38:19 | ------------------------------------

2021-03-18 22:38:19 | [Mutex] isItemNotified: node_z3xx0w0203:exists :: false

2021-03-18 22:38:19 | [Mutex] waiting for: [node_z3xx0w0203:create_node]

2021-03-18 22:38:19 | [Mutex] received everything.

2021-03-18 22:38:19 | [Mutex] isItemNotified: node_z3xx0w0203:create_node:success :: true

2021-03-18 22:38:19 | [Mutex] waiting for: [node_z3xx0w0203:subscribe_node]

2021-03-18 22:38:19 | [Mutex] waiting for: [node_z3xx0w0203:subscribe_node]

2021-03-18 22:38:19 | [Mutex] received everything.

2021-03-18 22:38:19 | [Mutex] isItemNotified: node_z3xx0w0203:subscribe_node:success :: true

2021-03-18 22:38:19 |


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


2021-03-18 22:38:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-18 22:38:19 | command: <data><node>node_z3xx0w0203</node><entry><content>content_3pahyw0204</content></entry></data>

2021-03-18 22:38:19 | target: http://localhost:8088

2021-03-18 22:38:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-18 22:38:19 | entity: <data><node>node_z3xx0w0203</node><entry><content>content_3pahyw0204</content></entry></data>

2021-03-18 22:38:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 05:38:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-18 22:38:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>454228ef-595a-4a7a-a697-69ec293c84b0</value></item-id></result>

2021-03-18 22:38:19 | contains: true

2021-03-18 22:38:19 | [Mutex] received everything.

2021-03-18 22:38:19 | [Mutex] isItemNotified: user_regularql2uiq0202@test-domain.com:message:received:content_3pahyw0204 :: true

2021-03-18 22:38:19 |


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


2021-03-18 22:38:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-18 22:38:19 | command: <data><node>node_z3xx0w0203</node><expire-at>2021-03-19T05:38:14Z</expire-at><entry><content>content_dwovu90205</content></entry></data>

2021-03-18 22:38:19 | target: http://localhost:8088

2021-03-18 22:38:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-18 22:38:19 | entity: <data><node>node_z3xx0w0203</node><expire-at>2021-03-19T05:38:14Z</expire-at><entry><content>content_dwovu90205</content></entry></data>

2021-03-18 22:38:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 05:38:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-18 22:38:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b70e61a8-3057-4577-8b1f-f5ea066ef7fe</value></item-id></result>

2021-03-18 22:38:20 | contains: true

2021-03-18 22:38:20 | [Mutex] waiting for: [user_regularql2uiq0202@test-domain.com:message:received:content_dwovu90205]

2021-03-18 22:38:35 | [Mutex] timeout. Not received [user_regularql2uiq0202@test-domain.com:message:received:content_dwovu90205]

2021-03-18 22:38:35 | [Mutex] isItemNotified: user_regularql2uiq0202@test-domain.com:message:received:content_dwovu90205 :: false

2021-03-18 22:38:35 |


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


2021-03-18 22:38:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-18 22:38:35 | command: <data><node>node_z3xx0w0203</node><entry><content>content_lx4nfg0206</content></entry></data>

2021-03-18 22:38:35 | target: http://localhost:8088

2021-03-18 22:38:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-18 22:38:35 | entity: <data><node>node_z3xx0w0203</node><entry><content>content_lx4nfg0206</content></entry></data>

2021-03-18 22:38:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 05:38:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-18 22:38:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9db8dce8-aead-4aae-9ea0-efc6e34ca090</value></item-id></result>

2021-03-18 22:38:35 | contains: true

2021-03-18 22:38:40 | [Mutex] waiting for: [user_regularql2uiq0202@test-domain.com:message:received:content_lx4nfg0206]

2021-03-18 22:38:40 | [Mutex] waiting for: [user_regularql2uiq0202@test-domain.com:message:received:content_lx4nfg0206]

2021-03-18 22:38:40 | [Mutex] received everything.

2021-03-18 22:38:40 | [Mutex] isItemNotified: user_regularql2uiq0202@test-domain.com:message:received:content_lx4nfg0206 :: true

2021-03-18 22:38:40 |


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


2021-03-18 22:38:40 | [Mutex] received everything.

2021-03-18 22:38:40 | [Mutex] isItemNotified: node_z3xx0w0203:subscribe_node:success :: true

2021-03-18 22:38:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-18 22:38:40 | command: <data><node>node_z3xx0w0203</node><expire-at>2021-03-19T05:38:45Z</expire-at><entry><content>content_gcttyt0207</content></entry></data>

2021-03-18 22:38:40 | target: http://localhost:8088

2021-03-18 22:38:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-18 22:38:40 | entity: <data><node>node_z3xx0w0203</node><expire-at>2021-03-19T05:38:45Z</expire-at><entry><content>content_gcttyt0207</content></entry></data>

2021-03-18 22:38:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 05:38:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-18 22:38:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>764ce009-d013-4500-accf-0ee5166c76fd</value></item-id></result>

2021-03-18 22:38:40 | contains: true

2021-03-18 22:38:48 | [Mutex] waiting for: [user_regularql2uiq0202@test-domain.com:message:received:content_gcttyt0207]

2021-03-18 22:39:03 | [Mutex] timeout. Not received [user_regularql2uiq0202@test-domain.com:message:received:content_gcttyt0207]

2021-03-18 22:39:03 | [Mutex] received everything.

2021-03-18 22:39:03 | [Mutex] isItemNotified: user_regularql2uiq0202@test-domain.com:message:received:content_gcttyt0207 :: false

2021-03-18 22:39:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gcttyt0207 :: true