Test duration : 45.611s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.746s |
2020-10-02 22:38:10 |
2020-10-02 22:38:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-02 22:38:10 | ------------------------------------ 2020-10-02 22:38:10 | [Mutex] isItemNotified: node_fmg9b20203:exists :: false 2020-10-02 22:38:10 | [Mutex] waiting for: [node_fmg9b20203:create_node] 2020-10-02 22:38:10 | [Mutex] received everything. 2020-10-02 22:38:10 | [Mutex] isItemNotified: node_fmg9b20203:create_node:success :: true 2020-10-02 22:38:10 | [Mutex] waiting for: [node_fmg9b20203:subscribe_node] 2020-10-02 22:38:10 | [Mutex] waiting for: [node_fmg9b20203:subscribe_node] 2020-10-02 22:38:10 | [Mutex] received everything. 2020-10-02 22:38:10 | [Mutex] isItemNotified: node_fmg9b20203:subscribe_node:success :: true 2020-10-02 22:38:10 | ===== publishing normal message (to online) 2020-10-02 22:38:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-02 22:38:10 | command: <data><node>node_fmg9b20203</node><entry><content>content_x17e4k0204</content></entry></data> 2020-10-02 22:38:10 | target: http://localhost:8088 2020-10-02 22:38:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-02 22:38:10 | entity: <data><node>node_fmg9b20203</node><entry><content>content_x17e4k0204</content></entry></data> 2020-10-02 22:38:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 05:38:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-02 22:38:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5cb2a3ca-fd27-4ccf-825e-3aedd2d51d6b</value></item-id></result> 2020-10-02 22:38:10 | contains: true 2020-10-02 22:38:10 | [Mutex] received everything. 2020-10-02 22:38:10 | [Mutex] isItemNotified: user_regular6z2xdr0202@test-domain.com:message:received:content_x17e4k0204 :: true 2020-10-02 22:38:10 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-02 22:38:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-02 22:38:10 | command: <data><node>node_fmg9b20203</node><expire-at>2020-10-03T05:38:05Z</expire-at><entry><content>content_yajzuf0205</content></entry></data> 2020-10-02 22:38:10 | target: http://localhost:8088 2020-10-02 22:38:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-02 22:38:10 | entity: <data><node>node_fmg9b20203</node><expire-at>2020-10-03T05:38:05Z</expire-at><entry><content>content_yajzuf0205</content></entry></data> 2020-10-02 22:38:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 05:38:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-02 22:38:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d6427bd9-9536-4f12-9834-05d0c31df3eb</value></item-id></result> 2020-10-02 22:38:11 | contains: true 2020-10-02 22:38:11 | [Mutex] waiting for: [user_regular6z2xdr0202@test-domain.com:message:received:content_yajzuf0205] 2020-10-02 22:38:26 | [Mutex] timeout. Not received [user_regular6z2xdr0202@test-domain.com:message:received:content_yajzuf0205] 2020-10-02 22:38:26 | [Mutex] isItemNotified: user_regular6z2xdr0202@test-domain.com:message:received:content_yajzuf0205 :: false 2020-10-02 22:38:26 | ===== publishing normal message (to offline) 2020-10-02 22:38:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-02 22:38:26 | command: <data><node>node_fmg9b20203</node><entry><content>content_zaflmv0206</content></entry></data> 2020-10-02 22:38:26 | target: http://localhost:8088 2020-10-02 22:38:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-02 22:38:26 | entity: <data><node>node_fmg9b20203</node><entry><content>content_zaflmv0206</content></entry></data> 2020-10-02 22:38:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 05:38:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-02 22:38:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6993f4a3-d9ea-4c2f-8dbd-830bf1484384</value></item-id></result> 2020-10-02 22:38:26 | contains: true 2020-10-02 22:38:31 | [Mutex] waiting for: [user_regular6z2xdr0202@test-domain.com:message:received:content_zaflmv0206] 2020-10-02 22:38:31 | [Mutex] received everything. 2020-10-02 22:38:31 | [Mutex] isItemNotified: user_regular6z2xdr0202@test-domain.com:message:received:content_zaflmv0206 :: true 2020-10-02 22:38:31 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-02 22:38:31 | [Mutex] received everything. 2020-10-02 22:38:31 | [Mutex] isItemNotified: node_fmg9b20203:subscribe_node:success :: true 2020-10-02 22:38:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-02 22:38:31 | command: <data><node>node_fmg9b20203</node><expire-at>2020-10-03T05:38:36Z</expire-at><entry><content>content_l060so0207</content></entry></data> 2020-10-02 22:38:31 | target: http://localhost:8088 2020-10-02 22:38:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-02 22:38:31 | entity: <data><node>node_fmg9b20203</node><expire-at>2020-10-03T05:38:36Z</expire-at><entry><content>content_l060so0207</content></entry></data> 2020-10-02 22:38:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 05:38:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-02 22:38:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>29c37818-9b33-48b4-8731-0a6e4fff7aa1</value></item-id></result> 2020-10-02 22:38:31 | contains: true 2020-10-02 22:38:39 | [Mutex] waiting for: [user_regular6z2xdr0202@test-domain.com:message:received:content_l060so0207] 2020-10-02 22:38:39 | [Mutex] waiting for: [user_regular6z2xdr0202@test-domain.com:message:received:content_l060so0207] 2020-10-02 22:38:54 | [Mutex] timeout. Not received [user_regular6z2xdr0202@test-domain.com:message:received:content_l060so0207] 2020-10-02 22:38:54 | [Mutex] received everything. 2020-10-02 22:38:54 | [Mutex] isItemNotified: user_regular6z2xdr0202@test-domain.com:message:received:content_l060so0207 :: false 2020-10-02 22:38:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_l060so0207 :: true |