Generated by TestNG with ReportNG at 06:24 PDT on Friday 14 May 2021
root@b2c2a8eba6e6 / 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 : 44.956s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.669s
2021-05-14 06:38:47 |

2021-05-14 06:38:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-14 06:38:47 | ------------------------------------

2021-05-14 06:38:47 | [Mutex] isItemNotified: node_stls1e0203:exists :: false

2021-05-14 06:38:47 | [Mutex] waiting for: [node_stls1e0203:create_node]

2021-05-14 06:38:47 | [Mutex] received everything.

2021-05-14 06:38:47 | [Mutex] isItemNotified: node_stls1e0203:create_node:success :: true

2021-05-14 06:38:47 | [Mutex] waiting for: [node_stls1e0203:subscribe_node]

2021-05-14 06:38:47 | [Mutex] received everything.

2021-05-14 06:38:47 | [Mutex] isItemNotified: node_stls1e0203:subscribe_node:success :: true

2021-05-14 06:38:47 |


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


2021-05-14 06:38:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-14 06:38:47 | command: <data><node>node_stls1e0203</node><entry><content>content_8hn7jt0204</content></entry></data>

2021-05-14 06:38:47 | target: http://localhost:8088

2021-05-14 06:38:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-14 06:38:47 | entity: <data><node>node_stls1e0203</node><entry><content>content_8hn7jt0204</content></entry></data>

2021-05-14 06:38:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 13:38:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-14 06:38:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>591d3969-1dea-475d-945c-3865220736af</value></item-id></result>

2021-05-14 06:38:47 | contains: true

2021-05-14 06:38:47 | [Mutex] received everything.

2021-05-14 06:38:47 | [Mutex] isItemNotified: user_regularb2op680202@test-domain.com:message:received:content_8hn7jt0204 :: true

2021-05-14 06:38:47 |


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


2021-05-14 06:38:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-14 06:38:47 | command: <data><node>node_stls1e0203</node><expire-at>2021-05-14T13:38:42Z</expire-at><entry><content>content_y6h10f0205</content></entry></data>

2021-05-14 06:38:47 | target: http://localhost:8088

2021-05-14 06:38:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-14 06:38:47 | entity: <data><node>node_stls1e0203</node><expire-at>2021-05-14T13:38:42Z</expire-at><entry><content>content_y6h10f0205</content></entry></data>

2021-05-14 06:38:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 13:38:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-14 06:38:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4468a3da-e306-4bee-a19a-44ed1a7f1aff</value></item-id></result>

2021-05-14 06:38:47 | contains: true

2021-05-14 06:38:47 | [Mutex] waiting for: [user_regularb2op680202@test-domain.com:message:received:content_y6h10f0205]

2021-05-14 06:39:02 | [Mutex] timeout. Not received [user_regularb2op680202@test-domain.com:message:received:content_y6h10f0205]

2021-05-14 06:39:02 | [Mutex] isItemNotified: user_regularb2op680202@test-domain.com:message:received:content_y6h10f0205 :: false

2021-05-14 06:39:02 |


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


2021-05-14 06:39:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-14 06:39:02 | command: <data><node>node_stls1e0203</node><entry><content>content_7ib9za0206</content></entry></data>

2021-05-14 06:39:02 | target: http://localhost:8088

2021-05-14 06:39:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-14 06:39:02 | entity: <data><node>node_stls1e0203</node><entry><content>content_7ib9za0206</content></entry></data>

2021-05-14 06:39:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 13:39:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-14 06:39:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c4c15ca7-c6f8-4dbd-9d53-0d5b88aef9ec</value></item-id></result>

2021-05-14 06:39:02 | contains: true

2021-05-14 06:39:07 | [Mutex] waiting for: [user_regularb2op680202@test-domain.com:message:received:content_7ib9za0206]

2021-05-14 06:39:07 | [Mutex] received everything.

2021-05-14 06:39:07 | [Mutex] isItemNotified: user_regularb2op680202@test-domain.com:message:received:content_7ib9za0206 :: true

2021-05-14 06:39:07 |


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


2021-05-14 06:39:07 | [Mutex] received everything.

2021-05-14 06:39:07 | [Mutex] isItemNotified: node_stls1e0203:subscribe_node:success :: true

2021-05-14 06:39:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-14 06:39:07 | command: <data><node>node_stls1e0203</node><expire-at>2021-05-14T13:39:12Z</expire-at><entry><content>content_hrkvfj0207</content></entry></data>

2021-05-14 06:39:07 | target: http://localhost:8088

2021-05-14 06:39:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-14 06:39:07 | entity: <data><node>node_stls1e0203</node><expire-at>2021-05-14T13:39:12Z</expire-at><entry><content>content_hrkvfj0207</content></entry></data>

2021-05-14 06:39:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 13:39:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-14 06:39:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c98f7b0b-c002-47c1-9036-2c7dd7823d0a</value></item-id></result>

2021-05-14 06:39:07 | contains: true

2021-05-14 06:39:15 | [Mutex] waiting for: [user_regularb2op680202@test-domain.com:message:received:content_hrkvfj0207]

2021-05-14 06:39:15 | [Mutex] waiting for: [user_regularb2op680202@test-domain.com:message:received:content_hrkvfj0207]

2021-05-14 06:39:30 | [Mutex] timeout. Not received [user_regularb2op680202@test-domain.com:message:received:content_hrkvfj0207]

2021-05-14 06:39:30 | [Mutex] received everything.

2021-05-14 06:39:30 | [Mutex] isItemNotified: user_regularb2op680202@test-domain.com:message:received:content_hrkvfj0207 :: false

2021-05-14 06:39:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hrkvfj0207 :: true