Test duration : 44.838s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.623s |
2022-06-06 23:15:59 |
2022-06-06 23:15:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-06 23:15:59 | ------------------------------------ 2022-06-06 23:15:59 | [Mutex] isItemNotified: node_lnc4410204:exists :: false 2022-06-06 23:15:59 | [Mutex] waiting for: [node_lnc4410204:create_node] 2022-06-06 23:15:59 | [Mutex] received everything. 2022-06-06 23:15:59 | [Mutex] isItemNotified: node_lnc4410204:create_node:success :: true 2022-06-06 23:15:59 | [Mutex] waiting for: [node_lnc4410204:subscribe_node] 2022-06-06 23:15:59 | [Mutex] waiting for: [node_lnc4410204:subscribe_node] 2022-06-06 23:15:59 | [Mutex] received everything. 2022-06-06 23:15:59 | [Mutex] isItemNotified: node_lnc4410204:subscribe_node:success :: true 2022-06-06 23:15:59 | ===== publishing normal message (to online) 2022-06-06 23:15:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-06 23:15:59 | command: <data><node>node_lnc4410204</node><entry><content>content_tb0hzn0205</content></entry></data> 2022-06-06 23:15:59 | target: http://localhost:8088 2022-06-06 23:15:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-06 23:15:59 | entity: <data><node>node_lnc4410204</node><entry><content>content_tb0hzn0205</content></entry></data> 2022-06-06 23:15:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 06:15:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-06 23:15:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7cb1ee69-de30-4478-898e-c8264d2b1b2f</value></item-id></result> 2022-06-06 23:15:59 | contains: true 2022-06-06 23:15:59 | [Mutex] waiting for: [user_regulardjjfi70203@test-domain.com:message:received:content_tb0hzn0205] 2022-06-06 23:15:59 | [Mutex] received everything. 2022-06-06 23:15:59 | [Mutex] isItemNotified: user_regulardjjfi70203@test-domain.com:message:received:content_tb0hzn0205 :: true 2022-06-06 23:15:59 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-06 23:15:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-06 23:15:59 | command: <data><node>node_lnc4410204</node><expire-at>2022-06-07T06:15:54Z</expire-at><entry><content>content_q5xukt0206</content></entry></data> 2022-06-06 23:15:59 | target: http://localhost:8088 2022-06-06 23:15:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-06 23:15:59 | entity: <data><node>node_lnc4410204</node><expire-at>2022-06-07T06:15:54Z</expire-at><entry><content>content_q5xukt0206</content></entry></data> 2022-06-06 23:15:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 06:15:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-06 23:15:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f1b99726-8af0-4e1c-80da-8796b9f86df6</value></item-id></result> 2022-06-06 23:15:59 | contains: true 2022-06-06 23:15:59 | [Mutex] waiting for: [user_regulardjjfi70203@test-domain.com:message:received:content_q5xukt0206] 2022-06-06 23:16:14 | [Mutex] timeout. Not received [user_regulardjjfi70203@test-domain.com:message:received:content_q5xukt0206] 2022-06-06 23:16:14 | [Mutex] isItemNotified: user_regulardjjfi70203@test-domain.com:message:received:content_q5xukt0206 :: false 2022-06-06 23:16:14 | ===== publishing normal message (to offline) 2022-06-06 23:16:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-06 23:16:14 | command: <data><node>node_lnc4410204</node><entry><content>content_euk22x0207</content></entry></data> 2022-06-06 23:16:14 | target: http://localhost:8088 2022-06-06 23:16:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-06 23:16:14 | entity: <data><node>node_lnc4410204</node><entry><content>content_euk22x0207</content></entry></data> 2022-06-06 23:16:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 06:16:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-06 23:16:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>48b7aa3a-0242-410f-a4db-b29138676cfb</value></item-id></result> 2022-06-06 23:16:14 | contains: true 2022-06-06 23:16:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-06 23:16:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-06 23:16:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-06 23:16:20 | [Mutex] waiting for: [user_regulardjjfi70203@test-domain.com:message:received:content_euk22x0207] 2022-06-06 23:16:20 | [Mutex] waiting for: [user_regulardjjfi70203@test-domain.com:message:received:content_euk22x0207] 2022-06-06 23:16:20 | [Mutex] received everything. 2022-06-06 23:16:20 | [Mutex] isItemNotified: user_regulardjjfi70203@test-domain.com:message:received:content_euk22x0207 :: true 2022-06-06 23:16:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-06 23:16:20 | [Mutex] received everything. 2022-06-06 23:16:20 | [Mutex] isItemNotified: node_lnc4410204:subscribe_node:success :: true 2022-06-06 23:16:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-06 23:16:20 | command: <data><node>node_lnc4410204</node><expire-at>2022-06-07T06:16:25Z</expire-at><entry><content>content_lr1cji0208</content></entry></data> 2022-06-06 23:16:20 | target: http://localhost:8088 2022-06-06 23:16:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-06 23:16:20 | entity: <data><node>node_lnc4410204</node><expire-at>2022-06-07T06:16:25Z</expire-at><entry><content>content_lr1cji0208</content></entry></data> 2022-06-06 23:16:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 06:16:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-06 23:16:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b3baf1c3-9a71-4930-9d3c-d423fdc9c430</value></item-id></result> 2022-06-06 23:16:20 | contains: true 2022-06-06 23:16:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-06 23:16:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-06 23:16:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-06 23:16:28 | [Mutex] waiting for: [user_regulardjjfi70203@test-domain.com:message:received:content_lr1cji0208] 2022-06-06 23:16:28 | [Mutex] waiting for: [user_regulardjjfi70203@test-domain.com:message:received:content_lr1cji0208] 2022-06-06 23:16:28 | [Mutex] waiting for: [user_regulardjjfi70203@test-domain.com:message:received:content_lr1cji0208] 2022-06-06 23:16:43 | [Mutex] timeout. Not received [user_regulardjjfi70203@test-domain.com:message:received:content_lr1cji0208] 2022-06-06 23:16:43 | [Mutex] received everything. 2022-06-06 23:16:43 | [Mutex] isItemNotified: user_regulardjjfi70203@test-domain.com:message:received:content_lr1cji0208 :: false 2022-06-06 23:16:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lr1cji0208 :: true |