Generated by TestNG with ReportNG at 21:13 PST on Tuesday 29 December 2020
root@eaa73862192b / 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.203s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.805s
2020-12-29 21:28:45 |

2020-12-29 21:28:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-12-29 21:28:45 | ------------------------------------

2020-12-29 21:28:45 | [Mutex] isItemNotified: node_g888w80203:exists :: false

2020-12-29 21:28:45 | [Mutex] waiting for: [node_g888w80203:create_node]

2020-12-29 21:28:45 | [Mutex] received everything.

2020-12-29 21:28:45 | [Mutex] isItemNotified: node_g888w80203:create_node:success :: true

2020-12-29 21:28:45 | [Mutex] waiting for: [node_g888w80203:subscribe_node]

2020-12-29 21:28:45 | [Mutex] waiting for: [node_g888w80203:subscribe_node]

2020-12-29 21:28:45 | [Mutex] received everything.

2020-12-29 21:28:45 | [Mutex] isItemNotified: node_g888w80203:subscribe_node:success :: true

2020-12-29 21:28:45 |


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


2020-12-29 21:28:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-29 21:28:45 | command: <data><node>node_g888w80203</node><entry><content>content_tkh4lj0204</content></entry></data>

2020-12-29 21:28:45 | target: http://localhost:8088

2020-12-29 21:28:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-29 21:28:45 | entity: <data><node>node_g888w80203</node><entry><content>content_tkh4lj0204</content></entry></data>

2020-12-29 21:28:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:28:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-29 21:28:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>27ca8e95-67fb-4fcb-a615-9e11cca49f16</value></item-id></result>

2020-12-29 21:28:45 | contains: true

2020-12-29 21:28:45 | [Mutex] waiting for: [user_regularoho3vm0202@test-domain.com:message:received:content_tkh4lj0204]

2020-12-29 21:28:45 | [Mutex] received everything.

2020-12-29 21:28:45 | [Mutex] isItemNotified: user_regularoho3vm0202@test-domain.com:message:received:content_tkh4lj0204 :: true

2020-12-29 21:28:45 |


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


2020-12-29 21:28:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-29 21:28:45 | command: <data><node>node_g888w80203</node><expire-at>2020-12-30T05:28:40Z</expire-at><entry><content>content_i7onvp0205</content></entry></data>

2020-12-29 21:28:45 | target: http://localhost:8088

2020-12-29 21:28:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-29 21:28:45 | entity: <data><node>node_g888w80203</node><expire-at>2020-12-30T05:28:40Z</expire-at><entry><content>content_i7onvp0205</content></entry></data>

2020-12-29 21:28:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:28:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-29 21:28:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>86689c8f-054c-4d06-9c2e-00824ff11876</value></item-id></result>

2020-12-29 21:28:45 | contains: true

2020-12-29 21:28:45 | [Mutex] waiting for: [user_regularoho3vm0202@test-domain.com:message:received:content_i7onvp0205]

2020-12-29 21:29:00 | [Mutex] timeout. Not received [user_regularoho3vm0202@test-domain.com:message:received:content_i7onvp0205]

2020-12-29 21:29:00 | [Mutex] isItemNotified: user_regularoho3vm0202@test-domain.com:message:received:content_i7onvp0205 :: false

2020-12-29 21:29:00 |


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


2020-12-29 21:29:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-29 21:29:00 | command: <data><node>node_g888w80203</node><entry><content>content_szvxuh0206</content></entry></data>

2020-12-29 21:29:00 | target: http://localhost:8088

2020-12-29 21:29:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-29 21:29:00 | entity: <data><node>node_g888w80203</node><entry><content>content_szvxuh0206</content></entry></data>

2020-12-29 21:29:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:29:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-29 21:29:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f1e53d35-ba0c-4d28-b32c-2c682b64a936</value></item-id></result>

2020-12-29 21:29:00 | contains: true

2020-12-29 21:29:05 | [Mutex] waiting for: [user_regularoho3vm0202@test-domain.com:message:received:content_szvxuh0206]

2020-12-29 21:29:05 | [Mutex] waiting for: [user_regularoho3vm0202@test-domain.com:message:received:content_szvxuh0206]

2020-12-29 21:29:05 | [Mutex] received everything.

2020-12-29 21:29:05 | [Mutex] isItemNotified: user_regularoho3vm0202@test-domain.com:message:received:content_szvxuh0206 :: true

2020-12-29 21:29:05 |


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


2020-12-29 21:29:05 | [Mutex] received everything.

2020-12-29 21:29:05 | [Mutex] isItemNotified: node_g888w80203:subscribe_node:success :: true

2020-12-29 21:29:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-29 21:29:05 | command: <data><node>node_g888w80203</node><expire-at>2020-12-30T05:29:10Z</expire-at><entry><content>content_qr2x3z0207</content></entry></data>

2020-12-29 21:29:05 | target: http://localhost:8088

2020-12-29 21:29:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-29 21:29:05 | entity: <data><node>node_g888w80203</node><expire-at>2020-12-30T05:29:10Z</expire-at><entry><content>content_qr2x3z0207</content></entry></data>

2020-12-29 21:29:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:29:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-29 21:29:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>275996d6-d937-47be-8ea7-61e8dae69974</value></item-id></result>

2020-12-29 21:29:05 | contains: true

2020-12-29 21:29:13 | [Mutex] waiting for: [user_regularoho3vm0202@test-domain.com:message:received:content_qr2x3z0207]

2020-12-29 21:29:13 | [Mutex] waiting for: [user_regularoho3vm0202@test-domain.com:message:received:content_qr2x3z0207]

2020-12-29 21:29:28 | [Mutex] timeout. Not received [user_regularoho3vm0202@test-domain.com:message:received:content_qr2x3z0207]

2020-12-29 21:29:28 | [Mutex] received everything.

2020-12-29 21:29:28 | [Mutex] isItemNotified: user_regularoho3vm0202@test-domain.com:message:received:content_qr2x3z0207 :: false

2020-12-29 21:29:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qr2x3z0207 :: true