Test duration : 44.998s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.717s |
2021-01-18 22:06:32 |
2021-01-18 22:06:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-18 22:06:32 | ------------------------------------ 2021-01-18 22:06:32 | [Mutex] isItemNotified: node_n739jz0203:exists :: false 2021-01-18 22:06:32 | [Mutex] waiting for: [node_n739jz0203:create_node] 2021-01-18 22:06:32 | [Mutex] received everything. 2021-01-18 22:06:32 | [Mutex] isItemNotified: node_n739jz0203:create_node:success :: true 2021-01-18 22:06:32 | [Mutex] waiting for: [node_n739jz0203:subscribe_node] 2021-01-18 22:06:32 | [Mutex] waiting for: [node_n739jz0203:subscribe_node] 2021-01-18 22:06:32 | [Mutex] received everything. 2021-01-18 22:06:32 | [Mutex] isItemNotified: node_n739jz0203:subscribe_node:success :: true 2021-01-18 22:06:32 | ===== publishing normal message (to online) 2021-01-18 22:06:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-18 22:06:32 | command: <data><node>node_n739jz0203</node><entry><content>content_ebrqjl0204</content></entry></data> 2021-01-18 22:06:32 | target: http://localhost:8088 2021-01-18 22:06:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-18 22:06:32 | entity: <data><node>node_n739jz0203</node><entry><content>content_ebrqjl0204</content></entry></data> 2021-01-18 22:06:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 06:06:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-18 22:06:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ac500650-75d5-4cc5-9ac7-3058fc12520d</value></item-id></result> 2021-01-18 22:06:32 | contains: true 2021-01-18 22:06:32 | [Mutex] received everything. 2021-01-18 22:06:32 | [Mutex] isItemNotified: user_regular8txwrb0202@test-domain.com:message:received:content_ebrqjl0204 :: true 2021-01-18 22:06:32 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-18 22:06:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-18 22:06:32 | command: <data><node>node_n739jz0203</node><expire-at>2021-01-19T06:06:27Z</expire-at><entry><content>content_45h7ma0205</content></entry></data> 2021-01-18 22:06:32 | target: http://localhost:8088 2021-01-18 22:06:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-18 22:06:32 | entity: <data><node>node_n739jz0203</node><expire-at>2021-01-19T06:06:27Z</expire-at><entry><content>content_45h7ma0205</content></entry></data> 2021-01-18 22:06:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 06:06:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-18 22:06:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bd88e478-c182-4bba-9ea8-4c20ebf83866</value></item-id></result> 2021-01-18 22:06:32 | contains: true 2021-01-18 22:06:32 | [Mutex] waiting for: [user_regular8txwrb0202@test-domain.com:message:received:content_45h7ma0205] 2021-01-18 22:06:47 | [Mutex] timeout. Not received [user_regular8txwrb0202@test-domain.com:message:received:content_45h7ma0205] 2021-01-18 22:06:47 | [Mutex] isItemNotified: user_regular8txwrb0202@test-domain.com:message:received:content_45h7ma0205 :: false 2021-01-18 22:06:47 | ===== publishing normal message (to offline) 2021-01-18 22:06:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-18 22:06:47 | command: <data><node>node_n739jz0203</node><entry><content>content_byjn4z0206</content></entry></data> 2021-01-18 22:06:47 | target: http://localhost:8088 2021-01-18 22:06:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-18 22:06:47 | entity: <data><node>node_n739jz0203</node><entry><content>content_byjn4z0206</content></entry></data> 2021-01-18 22:06:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 06:06:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-18 22:06:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6991eca9-f990-41c0-bc0d-718bba819c0a</value></item-id></result> 2021-01-18 22:06:47 | contains: true 2021-01-18 22:06:52 | [Mutex] waiting for: [user_regular8txwrb0202@test-domain.com:message:received:content_byjn4z0206] 2021-01-18 22:06:52 | [Mutex] received everything. 2021-01-18 22:06:52 | [Mutex] isItemNotified: user_regular8txwrb0202@test-domain.com:message:received:content_byjn4z0206 :: true 2021-01-18 22:06:52 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-18 22:06:52 | [Mutex] received everything. 2021-01-18 22:06:52 | [Mutex] isItemNotified: node_n739jz0203:subscribe_node:success :: true 2021-01-18 22:06:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-18 22:06:52 | command: <data><node>node_n739jz0203</node><expire-at>2021-01-19T06:06:57Z</expire-at><entry><content>content_8gnkvy0207</content></entry></data> 2021-01-18 22:06:52 | target: http://localhost:8088 2021-01-18 22:06:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-18 22:06:52 | entity: <data><node>node_n739jz0203</node><expire-at>2021-01-19T06:06:57Z</expire-at><entry><content>content_8gnkvy0207</content></entry></data> 2021-01-18 22:06:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 06:06:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-18 22:06:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ec46b4ba-ee0f-447d-9910-343fe42e1cbf</value></item-id></result> 2021-01-18 22:06:52 | contains: true 2021-01-18 22:07:00 | [Mutex] waiting for: [user_regular8txwrb0202@test-domain.com:message:received:content_8gnkvy0207] 2021-01-18 22:07:00 | [Mutex] waiting for: [user_regular8txwrb0202@test-domain.com:message:received:content_8gnkvy0207] 2021-01-18 22:07:15 | [Mutex] timeout. Not received [user_regular8txwrb0202@test-domain.com:message:received:content_8gnkvy0207] 2021-01-18 22:07:15 | [Mutex] received everything. 2021-01-18 22:07:15 | [Mutex] isItemNotified: user_regular8txwrb0202@test-domain.com:message:received:content_8gnkvy0207 :: false 2021-01-18 22:07:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8gnkvy0207 :: true |