Generated by TestNG with ReportNG at 21:29 PST on Tuesday 26 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.724s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.757s
2021-01-26 21:45:10 |

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

2021-01-26 21:45:10 | ------------------------------------

2021-01-26 21:45:10 | [Mutex] isItemNotified: node_18r0tr0203:exists :: false

2021-01-26 21:45:10 | [Mutex] waiting for: [node_18r0tr0203:create_node]

2021-01-26 21:45:10 | [Mutex] received everything.

2021-01-26 21:45:10 | [Mutex] isItemNotified: node_18r0tr0203:create_node:success :: true

2021-01-26 21:45:10 | [Mutex] waiting for: [node_18r0tr0203:subscribe_node]

2021-01-26 21:45:10 | [Mutex] waiting for: [node_18r0tr0203:subscribe_node]

2021-01-26 21:45:10 | [Mutex] received everything.

2021-01-26 21:45:10 | [Mutex] isItemNotified: node_18r0tr0203:subscribe_node:success :: true

2021-01-26 21:45:10 |


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


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

2021-01-26 21:45:10 | command: <data><node>node_18r0tr0203</node><entry><content>content_ncmvj60204</content></entry></data>

2021-01-26 21:45:10 | target: http://localhost:8088

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

2021-01-26 21:45:10 | entity: <data><node>node_18r0tr0203</node><entry><content>content_ncmvj60204</content></entry></data>

2021-01-26 21:45:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 05:45:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-26 21:45:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1c5daa02-c1e7-44e8-be8f-2039f0218962</value></item-id></result>

2021-01-26 21:45:10 | contains: true

2021-01-26 21:45:10 | [Mutex] waiting for: [user_regulare9ckkc0202@test-domain.com:message:received:content_ncmvj60204]

2021-01-26 21:45:10 | [Mutex] received everything.

2021-01-26 21:45:10 | [Mutex] isItemNotified: user_regulare9ckkc0202@test-domain.com:message:received:content_ncmvj60204 :: true

2021-01-26 21:45:10 |


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


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

2021-01-26 21:45:10 | command: <data><node>node_18r0tr0203</node><expire-at>2021-01-27T05:45:05Z</expire-at><entry><content>content_qzdrtg0205</content></entry></data>

2021-01-26 21:45:10 | target: http://localhost:8088

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

2021-01-26 21:45:10 | entity: <data><node>node_18r0tr0203</node><expire-at>2021-01-27T05:45:05Z</expire-at><entry><content>content_qzdrtg0205</content></entry></data>

2021-01-26 21:45:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 05:45:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-26 21:45:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>24adc512-8045-46e3-92d8-4e6257bc74b3</value></item-id></result>

2021-01-26 21:45:11 | contains: true

2021-01-26 21:45:11 | [Mutex] waiting for: [user_regulare9ckkc0202@test-domain.com:message:received:content_qzdrtg0205]

2021-01-26 21:45:26 | [Mutex] timeout. Not received [user_regulare9ckkc0202@test-domain.com:message:received:content_qzdrtg0205]

2021-01-26 21:45:26 | [Mutex] isItemNotified: user_regulare9ckkc0202@test-domain.com:message:received:content_qzdrtg0205 :: false

2021-01-26 21:45:26 |


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


2021-01-26 21:45:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-26 21:45:26 | command: <data><node>node_18r0tr0203</node><entry><content>content_bxpyay0206</content></entry></data>

2021-01-26 21:45:26 | target: http://localhost:8088

2021-01-26 21:45:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-26 21:45:26 | entity: <data><node>node_18r0tr0203</node><entry><content>content_bxpyay0206</content></entry></data>

2021-01-26 21:45:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 05:45:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-26 21:45:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6bf3530e-aca6-4fd3-994e-31f0c706b0ad</value></item-id></result>

2021-01-26 21:45:26 | contains: true

2021-01-26 21:45:31 | [Mutex] waiting for: [user_regulare9ckkc0202@test-domain.com:message:received:content_bxpyay0206]

2021-01-26 21:45:31 | [Mutex] received everything.

2021-01-26 21:45:31 | [Mutex] isItemNotified: user_regulare9ckkc0202@test-domain.com:message:received:content_bxpyay0206 :: true

2021-01-26 21:45:31 |


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


2021-01-26 21:45:31 | [Mutex] received everything.

2021-01-26 21:45:31 | [Mutex] isItemNotified: node_18r0tr0203:subscribe_node:success :: true

2021-01-26 21:45:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-26 21:45:31 | command: <data><node>node_18r0tr0203</node><expire-at>2021-01-27T05:45:36Z</expire-at><entry><content>content_pyz1a20207</content></entry></data>

2021-01-26 21:45:31 | target: http://localhost:8088

2021-01-26 21:45:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-26 21:45:31 | entity: <data><node>node_18r0tr0203</node><expire-at>2021-01-27T05:45:36Z</expire-at><entry><content>content_pyz1a20207</content></entry></data>

2021-01-26 21:45:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 05:45:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-26 21:45:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ca489751-e0f0-4b93-a364-c5ed21330630</value></item-id></result>

2021-01-26 21:45:31 | contains: true

2021-01-26 21:45:39 | [Mutex] waiting for: [user_regulare9ckkc0202@test-domain.com:message:received:content_pyz1a20207]

2021-01-26 21:45:39 | [Mutex] waiting for: [user_regulare9ckkc0202@test-domain.com:message:received:content_pyz1a20207]

2021-01-26 21:45:54 | [Mutex] timeout. Not received [user_regulare9ckkc0202@test-domain.com:message:received:content_pyz1a20207]

2021-01-26 21:45:54 | [Mutex] received everything.

2021-01-26 21:45:54 | [Mutex] isItemNotified: user_regulare9ckkc0202@test-domain.com:message:received:content_pyz1a20207 :: false

2021-01-26 21:45:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pyz1a20207 :: true