Generated by TestNG with ReportNG at 21:18 PST on Sunday 17 January 2021
root@43fec6d4badf / 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.529s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.820s
2021-01-17 21:35:10 |

2021-01-17 21:35:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-17 21:35:10 | ------------------------------------

2021-01-17 21:35:10 | [Mutex] isItemNotified: node_wuh1070203:exists :: false

2021-01-17 21:35:10 | [Mutex] waiting for: [node_wuh1070203:create_node]

2021-01-17 21:35:10 | [Mutex] received everything.

2021-01-17 21:35:10 | [Mutex] isItemNotified: node_wuh1070203:create_node:success :: true

2021-01-17 21:35:10 | [Mutex] waiting for: [node_wuh1070203:subscribe_node]

2021-01-17 21:35:10 | [Mutex] waiting for: [node_wuh1070203:subscribe_node]

2021-01-17 21:35:10 | [Mutex] received everything.

2021-01-17 21:35:10 | [Mutex] isItemNotified: node_wuh1070203:subscribe_node:success :: true

2021-01-17 21:35:10 |


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


2021-01-17 21:35:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 21:35:10 | command: <data><node>node_wuh1070203</node><entry><content>content_icpuqe0204</content></entry></data>

2021-01-17 21:35:10 | target: http://localhost:8088

2021-01-17 21:35:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-17 21:35:10 | entity: <data><node>node_wuh1070203</node><entry><content>content_icpuqe0204</content></entry></data>

2021-01-17 21:35:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 05:35:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 21:35:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f6f040ea-45b4-4ea0-b3dd-109190da62f2</value></item-id></result>

2021-01-17 21:35:10 | contains: true

2021-01-17 21:35:10 | [Mutex] waiting for: [user_regularyblenb0202@test-domain.com:message:received:content_icpuqe0204]

2021-01-17 21:35:10 | [Mutex] received everything.

2021-01-17 21:35:10 | [Mutex] isItemNotified: user_regularyblenb0202@test-domain.com:message:received:content_icpuqe0204 :: true

2021-01-17 21:35:10 |


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


2021-01-17 21:35:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 21:35:10 | command: <data><node>node_wuh1070203</node><expire-at>2021-01-18T05:35:05Z</expire-at><entry><content>content_cabll10205</content></entry></data>

2021-01-17 21:35:10 | target: http://localhost:8088

2021-01-17 21:35:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-17 21:35:10 | entity: <data><node>node_wuh1070203</node><expire-at>2021-01-18T05:35:05Z</expire-at><entry><content>content_cabll10205</content></entry></data>

2021-01-17 21:35:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 05:35:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 21:35:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2a25ebe4-1675-4f43-8d7e-cc932fde258b</value></item-id></result>

2021-01-17 21:35:10 | contains: true

2021-01-17 21:35:10 | [Mutex] waiting for: [user_regularyblenb0202@test-domain.com:message:received:content_cabll10205]

2021-01-17 21:35:25 | [Mutex] timeout. Not received [user_regularyblenb0202@test-domain.com:message:received:content_cabll10205]

2021-01-17 21:35:25 | [Mutex] isItemNotified: user_regularyblenb0202@test-domain.com:message:received:content_cabll10205 :: false

2021-01-17 21:35:25 |


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


2021-01-17 21:35:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 21:35:25 | command: <data><node>node_wuh1070203</node><entry><content>content_r9h2hk0206</content></entry></data>

2021-01-17 21:35:25 | target: http://localhost:8088

2021-01-17 21:35:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-17 21:35:25 | entity: <data><node>node_wuh1070203</node><entry><content>content_r9h2hk0206</content></entry></data>

2021-01-17 21:35:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 05:35:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 21:35:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>589a7dee-00ea-4479-ba71-e340df76379d</value></item-id></result>

2021-01-17 21:35:25 | contains: true

2021-01-17 21:35:30 | [Mutex] waiting for: [user_regularyblenb0202@test-domain.com:message:received:content_r9h2hk0206]

2021-01-17 21:35:30 | [Mutex] waiting for: [user_regularyblenb0202@test-domain.com:message:received:content_r9h2hk0206]

2021-01-17 21:35:30 | [Mutex] received everything.

2021-01-17 21:35:30 | [Mutex] isItemNotified: user_regularyblenb0202@test-domain.com:message:received:content_r9h2hk0206 :: true

2021-01-17 21:35:30 |


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


2021-01-17 21:35:30 | [Mutex] received everything.

2021-01-17 21:35:30 | [Mutex] isItemNotified: node_wuh1070203:subscribe_node:success :: true

2021-01-17 21:35:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 21:35:30 | command: <data><node>node_wuh1070203</node><expire-at>2021-01-18T05:35:35Z</expire-at><entry><content>content_ryugfu0207</content></entry></data>

2021-01-17 21:35:30 | target: http://localhost:8088

2021-01-17 21:35:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-17 21:35:30 | entity: <data><node>node_wuh1070203</node><expire-at>2021-01-18T05:35:35Z</expire-at><entry><content>content_ryugfu0207</content></entry></data>

2021-01-17 21:35:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 05:35:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 21:35:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>641d7d15-7caf-4bb0-b6d8-6aa740c28de6</value></item-id></result>

2021-01-17 21:35:30 | contains: true

2021-01-17 21:35:38 | [Mutex] waiting for: [user_regularyblenb0202@test-domain.com:message:received:content_ryugfu0207]

2021-01-17 21:35:53 | [Mutex] timeout. Not received [user_regularyblenb0202@test-domain.com:message:received:content_ryugfu0207]

2021-01-17 21:35:53 | [Mutex] received everything.

2021-01-17 21:35:53 | [Mutex] isItemNotified: user_regularyblenb0202@test-domain.com:message:received:content_ryugfu0207 :: false

2021-01-17 21:35:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ryugfu0207 :: true