Generated by TestNG with ReportNG at 23:43 PDT on Thursday 27 August 2020
root@18d694fe8e0a / 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.639s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.785s
2020-08-28 00:00:27 |

2020-08-28 00:00:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-08-28 00:00:27 | ------------------------------------

2020-08-28 00:00:27 | [Mutex] isItemNotified: node_gqz7f50203:exists :: false

2020-08-28 00:00:27 | [Mutex] waiting for: [node_gqz7f50203:create_node]

2020-08-28 00:00:27 | [Mutex] received everything.

2020-08-28 00:00:27 | [Mutex] isItemNotified: node_gqz7f50203:create_node:success :: true

2020-08-28 00:00:27 | [Mutex] waiting for: [node_gqz7f50203:subscribe_node]

2020-08-28 00:00:27 | [Mutex] waiting for: [node_gqz7f50203:subscribe_node]

2020-08-28 00:00:27 | [Mutex] received everything.

2020-08-28 00:00:27 | [Mutex] isItemNotified: node_gqz7f50203:subscribe_node:success :: true

2020-08-28 00:00:27 |


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


2020-08-28 00:00:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-28 00:00:27 | command: <data><node>node_gqz7f50203</node><entry><content>content_x1b9p10204</content></entry></data>

2020-08-28 00:00:27 | target: http://localhost:8088

2020-08-28 00:00:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-28 00:00:27 | entity: <data><node>node_gqz7f50203</node><entry><content>content_x1b9p10204</content></entry></data>

2020-08-28 00:00:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 07:00:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-28 00:00:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a8d77f02-8563-405a-b5e3-24aa0ee77f67</value></item-id></result>

2020-08-28 00:00:27 | contains: true

2020-08-28 00:00:27 | [Mutex] waiting for: [user_regular4r4iwi0202@test-domain.com:message:received:content_x1b9p10204]

2020-08-28 00:00:27 | [Mutex] received everything.

2020-08-28 00:00:27 | [Mutex] isItemNotified: user_regular4r4iwi0202@test-domain.com:message:received:content_x1b9p10204 :: true

2020-08-28 00:00:27 |


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


2020-08-28 00:00:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-28 00:00:27 | command: <data><node>node_gqz7f50203</node><expire-at>2020-08-28T07:00:22Z</expire-at><entry><content>content_3ul0nq0205</content></entry></data>

2020-08-28 00:00:27 | target: http://localhost:8088

2020-08-28 00:00:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-28 00:00:27 | entity: <data><node>node_gqz7f50203</node><expire-at>2020-08-28T07:00:22Z</expire-at><entry><content>content_3ul0nq0205</content></entry></data>

2020-08-28 00:00:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 07:00:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-28 00:00:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>87922aff-5594-4edf-8fe3-0ce2d53fa1e9</value></item-id></result>

2020-08-28 00:00:27 | contains: true

2020-08-28 00:00:27 | [Mutex] waiting for: [user_regular4r4iwi0202@test-domain.com:message:received:content_3ul0nq0205]

2020-08-28 00:00:42 | [Mutex] timeout. Not received [user_regular4r4iwi0202@test-domain.com:message:received:content_3ul0nq0205]

2020-08-28 00:00:42 | [Mutex] isItemNotified: user_regular4r4iwi0202@test-domain.com:message:received:content_3ul0nq0205 :: false

2020-08-28 00:00:42 |


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


2020-08-28 00:00:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-28 00:00:42 | command: <data><node>node_gqz7f50203</node><entry><content>content_4ozo100206</content></entry></data>

2020-08-28 00:00:42 | target: http://localhost:8088

2020-08-28 00:00:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-28 00:00:42 | entity: <data><node>node_gqz7f50203</node><entry><content>content_4ozo100206</content></entry></data>

2020-08-28 00:00:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 07:00:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-28 00:00:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1ecda505-308f-40ac-827f-95f151b782b5</value></item-id></result>

2020-08-28 00:00:42 | contains: true

2020-08-28 00:00:47 | [Mutex] waiting for: [user_regular4r4iwi0202@test-domain.com:message:received:content_4ozo100206]

2020-08-28 00:00:47 | [Mutex] waiting for: [user_regular4r4iwi0202@test-domain.com:message:received:content_4ozo100206]

2020-08-28 00:00:47 | [Mutex] received everything.

2020-08-28 00:00:47 | [Mutex] isItemNotified: user_regular4r4iwi0202@test-domain.com:message:received:content_4ozo100206 :: true

2020-08-28 00:00:47 |


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


2020-08-28 00:00:47 | [Mutex] received everything.

2020-08-28 00:00:47 | [Mutex] isItemNotified: node_gqz7f50203:subscribe_node:success :: true

2020-08-28 00:00:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-28 00:00:47 | command: <data><node>node_gqz7f50203</node><expire-at>2020-08-28T07:00:52Z</expire-at><entry><content>content_cmgykp0207</content></entry></data>

2020-08-28 00:00:47 | target: http://localhost:8088

2020-08-28 00:00:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-28 00:00:47 | entity: <data><node>node_gqz7f50203</node><expire-at>2020-08-28T07:00:52Z</expire-at><entry><content>content_cmgykp0207</content></entry></data>

2020-08-28 00:00:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 07:00:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-28 00:00:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3d24045c-c1eb-45d0-a6c2-f1c04c5da194</value></item-id></result>

2020-08-28 00:00:47 | contains: true

2020-08-28 00:00:56 | [Mutex] waiting for: [user_regular4r4iwi0202@test-domain.com:message:received:content_cmgykp0207]

2020-08-28 00:00:56 | [Mutex] waiting for: [user_regular4r4iwi0202@test-domain.com:message:received:content_cmgykp0207]

2020-08-28 00:01:11 | [Mutex] timeout. Not received [user_regular4r4iwi0202@test-domain.com:message:received:content_cmgykp0207]

2020-08-28 00:01:11 | [Mutex] received everything.

2020-08-28 00:01:11 | [Mutex] isItemNotified: user_regular4r4iwi0202@test-domain.com:message:received:content_cmgykp0207 :: false

2020-08-28 00:01:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_cmgykp0207 :: true