Generated by TestNG with ReportNG at 11:34 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.546s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.790s
2020-08-27 11:51:10 |

2020-08-27 11:51:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-08-27 11:51:10 | ------------------------------------

2020-08-27 11:51:10 | [Mutex] isItemNotified: node_wagsg80203:exists :: false

2020-08-27 11:51:10 | [Mutex] waiting for: [node_wagsg80203:create_node]

2020-08-27 11:51:10 | [Mutex] received everything.

2020-08-27 11:51:10 | [Mutex] isItemNotified: node_wagsg80203:create_node:success :: true

2020-08-27 11:51:10 | [Mutex] waiting for: [node_wagsg80203:subscribe_node]

2020-08-27 11:51:10 | [Mutex] waiting for: [node_wagsg80203:subscribe_node]

2020-08-27 11:51:10 | [Mutex] received everything.

2020-08-27 11:51:10 | [Mutex] isItemNotified: node_wagsg80203:subscribe_node:success :: true

2020-08-27 11:51:10 |


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


2020-08-27 11:51:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-27 11:51:10 | command: <data><node>node_wagsg80203</node><entry><content>content_zy4au0204</content></entry></data>

2020-08-27 11:51:10 | target: http://localhost:8088

2020-08-27 11:51:10 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2020-08-27 11:51:10 | entity: <data><node>node_wagsg80203</node><entry><content>content_zy4au0204</content></entry></data>

2020-08-27 11:51:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 18:51:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-27 11:51:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1c7a6617-c62b-4d16-85b9-c96416885dd5</value></item-id></result>

2020-08-27 11:51:10 | contains: true

2020-08-27 11:51:10 | [Mutex] received everything.

2020-08-27 11:51:10 | [Mutex] isItemNotified: user_regularl4ut8h0202@test-domain.com:message:received:content_zy4au0204 :: true

2020-08-27 11:51:10 |


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


2020-08-27 11:51:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-27 11:51:10 | command: <data><node>node_wagsg80203</node><expire-at>2020-08-27T18:51:05Z</expire-at><entry><content>content_wsusg40205</content></entry></data>

2020-08-27 11:51:10 | target: http://localhost:8088

2020-08-27 11:51:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-27 11:51:10 | entity: <data><node>node_wagsg80203</node><expire-at>2020-08-27T18:51:05Z</expire-at><entry><content>content_wsusg40205</content></entry></data>

2020-08-27 11:51:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 18:51:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-27 11:51:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fa62961e-e9c9-4e5e-87a4-e6dc97483d29</value></item-id></result>

2020-08-27 11:51:10 | contains: true

2020-08-27 11:51:10 | [Mutex] waiting for: [user_regularl4ut8h0202@test-domain.com:message:received:content_wsusg40205]

2020-08-27 11:51:25 | [Mutex] timeout. Not received [user_regularl4ut8h0202@test-domain.com:message:received:content_wsusg40205]

2020-08-27 11:51:25 | [Mutex] isItemNotified: user_regularl4ut8h0202@test-domain.com:message:received:content_wsusg40205 :: false

2020-08-27 11:51:25 |


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


2020-08-27 11:51:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-27 11:51:25 | command: <data><node>node_wagsg80203</node><entry><content>content_ic8uf70206</content></entry></data>

2020-08-27 11:51:25 | target: http://localhost:8088

2020-08-27 11:51:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-27 11:51:25 | entity: <data><node>node_wagsg80203</node><entry><content>content_ic8uf70206</content></entry></data>

2020-08-27 11:51:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 18:51:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-27 11:51:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>842f06a5-20b8-42f3-ad12-b23b5ec7d7f3</value></item-id></result>

2020-08-27 11:51:25 | contains: true

2020-08-27 11:51:31 | [Mutex] waiting for: [user_regularl4ut8h0202@test-domain.com:message:received:content_ic8uf70206]

2020-08-27 11:51:31 | [Mutex] received everything.

2020-08-27 11:51:31 | [Mutex] isItemNotified: user_regularl4ut8h0202@test-domain.com:message:received:content_ic8uf70206 :: true

2020-08-27 11:51:31 |


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


2020-08-27 11:51:31 | [Mutex] received everything.

2020-08-27 11:51:31 | [Mutex] isItemNotified: node_wagsg80203:subscribe_node:success :: true

2020-08-27 11:51:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-27 11:51:31 | command: <data><node>node_wagsg80203</node><expire-at>2020-08-27T18:51:36Z</expire-at><entry><content>content_t95eme0207</content></entry></data>

2020-08-27 11:51:31 | target: http://localhost:8088

2020-08-27 11:51:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-27 11:51:31 | entity: <data><node>node_wagsg80203</node><expire-at>2020-08-27T18:51:36Z</expire-at><entry><content>content_t95eme0207</content></entry></data>

2020-08-27 11:51:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 18:51:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-27 11:51:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>93ed9979-0d6a-4779-8237-dfccdd345d9e</value></item-id></result>

2020-08-27 11:51:31 | contains: true

2020-08-27 11:51:39 | [Mutex] waiting for: [user_regularl4ut8h0202@test-domain.com:message:received:content_t95eme0207]

2020-08-27 11:51:54 | [Mutex] timeout. Not received [user_regularl4ut8h0202@test-domain.com:message:received:content_t95eme0207]

2020-08-27 11:51:54 | [Mutex] received everything.

2020-08-27 11:51:54 | [Mutex] isItemNotified: user_regularl4ut8h0202@test-domain.com:message:received:content_t95eme0207 :: false

2020-08-27 11:51:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_t95eme0207 :: true