Test duration : 44.848s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.649s |
2022-06-27 22:33:35 |
2022-06-27 22:33:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-27 22:33:35 | ------------------------------------ 2022-06-27 22:33:35 | [Mutex] isItemNotified: node_1wwlw80204:exists :: false 2022-06-27 22:33:35 | [Mutex] waiting for: [node_1wwlw80204:create_node] 2022-06-27 22:33:35 | [Mutex] waiting for: [node_1wwlw80204:create_node] 2022-06-27 22:33:35 | [Mutex] received everything. 2022-06-27 22:33:35 | [Mutex] isItemNotified: node_1wwlw80204:create_node:success :: true 2022-06-27 22:33:35 | [Mutex] waiting for: [node_1wwlw80204:subscribe_node] 2022-06-27 22:33:35 | [Mutex] waiting for: [node_1wwlw80204:subscribe_node] 2022-06-27 22:33:35 | [Mutex] received everything. 2022-06-27 22:33:35 | [Mutex] isItemNotified: node_1wwlw80204:subscribe_node:success :: true 2022-06-27 22:33:35 | ===== publishing normal message (to online) 2022-06-27 22:33:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-27 22:33:35 | command: <data><node>node_1wwlw80204</node><entry><content>content_3ir7g10205</content></entry></data> 2022-06-27 22:33:35 | target: http://localhost:8088 2022-06-27 22:33:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-27 22:33:35 | entity: <data><node>node_1wwlw80204</node><entry><content>content_3ir7g10205</content></entry></data> 2022-06-27 22:33:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 05:33:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-27 22:33:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4208dc29-3fcb-4ab4-acfe-1149e0b3106c</value></item-id></result> 2022-06-27 22:33:35 | contains: true 2022-06-27 22:33:35 | [Mutex] received everything. 2022-06-27 22:33:35 | [Mutex] isItemNotified: user_regular18ht7d0203@test-domain.com:message:received:content_3ir7g10205 :: true 2022-06-27 22:33:35 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-27 22:33:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-27 22:33:35 | command: <data><node>node_1wwlw80204</node><expire-at>2022-06-28T05:33:30Z</expire-at><entry><content>content_fhawin0206</content></entry></data> 2022-06-27 22:33:35 | target: http://localhost:8088 2022-06-27 22:33:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-27 22:33:35 | entity: <data><node>node_1wwlw80204</node><expire-at>2022-06-28T05:33:30Z</expire-at><entry><content>content_fhawin0206</content></entry></data> 2022-06-27 22:33:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 05:33:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-27 22:33:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b2878870-3613-4fa8-86cf-493b4da7063f</value></item-id></result> 2022-06-27 22:33:35 | contains: true 2022-06-27 22:33:35 | [Mutex] waiting for: [user_regular18ht7d0203@test-domain.com:message:received:content_fhawin0206] 2022-06-27 22:33:50 | [Mutex] timeout. Not received [user_regular18ht7d0203@test-domain.com:message:received:content_fhawin0206] 2022-06-27 22:33:50 | [Mutex] isItemNotified: user_regular18ht7d0203@test-domain.com:message:received:content_fhawin0206 :: false 2022-06-27 22:33:50 | ===== publishing normal message (to offline) 2022-06-27 22:33:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-27 22:33:50 | command: <data><node>node_1wwlw80204</node><entry><content>content_n3crtz0207</content></entry></data> 2022-06-27 22:33:50 | target: http://localhost:8088 2022-06-27 22:33:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-27 22:33:50 | entity: <data><node>node_1wwlw80204</node><entry><content>content_n3crtz0207</content></entry></data> 2022-06-27 22:33:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 05:33:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-27 22:33:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7afc9b6b-6cf9-49d0-8ca9-e1b32016c292</value></item-id></result> 2022-06-27 22:33:50 | contains: true 2022-06-27 22:33:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-27 22:33:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-27 22:33:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-27 22:33:56 | [Mutex] waiting for: [user_regular18ht7d0203@test-domain.com:message:received:content_n3crtz0207] 2022-06-27 22:33:56 | [Mutex] received everything. 2022-06-27 22:33:56 | [Mutex] isItemNotified: user_regular18ht7d0203@test-domain.com:message:received:content_n3crtz0207 :: true 2022-06-27 22:33:56 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-27 22:33:56 | [Mutex] received everything. 2022-06-27 22:33:56 | [Mutex] isItemNotified: node_1wwlw80204:subscribe_node:success :: true 2022-06-27 22:33:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-27 22:33:56 | command: <data><node>node_1wwlw80204</node><expire-at>2022-06-28T05:34:01Z</expire-at><entry><content>content_aw9kwx0208</content></entry></data> 2022-06-27 22:33:56 | target: http://localhost:8088 2022-06-27 22:33:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-27 22:33:56 | entity: <data><node>node_1wwlw80204</node><expire-at>2022-06-28T05:34:01Z</expire-at><entry><content>content_aw9kwx0208</content></entry></data> 2022-06-27 22:33:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 05:33:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-27 22:33:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f8f38d34-0985-4e58-84d5-e2ccad5d1102</value></item-id></result> 2022-06-27 22:33:56 | contains: true 2022-06-27 22:34:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-27 22:34:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-27 22:34:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-27 22:34:04 | [Mutex] waiting for: [user_regular18ht7d0203@test-domain.com:message:received:content_aw9kwx0208] 2022-06-27 22:34:04 | [Mutex] waiting for: [user_regular18ht7d0203@test-domain.com:message:received:content_aw9kwx0208] 2022-06-27 22:34:19 | [Mutex] timeout. Not received [user_regular18ht7d0203@test-domain.com:message:received:content_aw9kwx0208] 2022-06-27 22:34:19 | [Mutex] received everything. 2022-06-27 22:34:19 | [Mutex] isItemNotified: user_regular18ht7d0203@test-domain.com:message:received:content_aw9kwx0208 :: false 2022-06-27 22:34:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_aw9kwx0208 :: true |