Test duration : 44.450s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.581s |
2022-08-01 22:34:20 |
2022-08-01 22:34:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-01 22:34:20 | ------------------------------------ 2022-08-01 22:34:20 | [Mutex] isItemNotified: node_tbpmo70204:exists :: false 2022-08-01 22:34:20 | [Mutex] waiting for: [node_tbpmo70204:create_node] 2022-08-01 22:34:20 | [Mutex] waiting for: [node_tbpmo70204:create_node] 2022-08-01 22:34:20 | [Mutex] received everything. 2022-08-01 22:34:20 | [Mutex] isItemNotified: node_tbpmo70204:create_node:success :: true 2022-08-01 22:34:20 | [Mutex] waiting for: [node_tbpmo70204:subscribe_node] 2022-08-01 22:34:20 | [Mutex] waiting for: [node_tbpmo70204:subscribe_node] 2022-08-01 22:34:20 | [Mutex] received everything. 2022-08-01 22:34:20 | [Mutex] isItemNotified: node_tbpmo70204:subscribe_node:success :: true 2022-08-01 22:34:20 | ===== publishing normal message (to online) 2022-08-01 22:34:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-01 22:34:20 | command: <data><node>node_tbpmo70204</node><entry><content>content_6xnr990205</content></entry></data> 2022-08-01 22:34:20 | target: http://localhost:8088 2022-08-01 22:34:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-01 22:34:20 | entity: <data><node>node_tbpmo70204</node><entry><content>content_6xnr990205</content></entry></data> 2022-08-01 22:34:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Aug 2022 05:34:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-01 22:34:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>75a8d41f-ca42-4ebd-9bac-517fd321cca4</value></item-id></result> 2022-08-01 22:34:20 | contains: true 2022-08-01 22:34:20 | [Mutex] received everything. 2022-08-01 22:34:20 | [Mutex] isItemNotified: user_regularcli3xr0203@test-domain.com:message:received:content_6xnr990205 :: true 2022-08-01 22:34:20 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-01 22:34:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-01 22:34:20 | command: <data><node>node_tbpmo70204</node><expire-at>2022-08-02T05:34:15Z</expire-at><entry><content>content_spz8bx0206</content></entry></data> 2022-08-01 22:34:20 | target: http://localhost:8088 2022-08-01 22:34:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-01 22:34:20 | entity: <data><node>node_tbpmo70204</node><expire-at>2022-08-02T05:34:15Z</expire-at><entry><content>content_spz8bx0206</content></entry></data> 2022-08-01 22:34:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Aug 2022 05:34:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-01 22:34:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e43d6626-5562-4ec0-97a7-d76cfa89feba</value></item-id></result> 2022-08-01 22:34:20 | contains: true 2022-08-01 22:34:20 | [Mutex] waiting for: [user_regularcli3xr0203@test-domain.com:message:received:content_spz8bx0206] 2022-08-01 22:34:35 | [Mutex] timeout. Not received [user_regularcli3xr0203@test-domain.com:message:received:content_spz8bx0206] 2022-08-01 22:34:35 | [Mutex] isItemNotified: user_regularcli3xr0203@test-domain.com:message:received:content_spz8bx0206 :: false 2022-08-01 22:34:35 | ===== publishing normal message (to offline) 2022-08-01 22:34:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-01 22:34:35 | command: <data><node>node_tbpmo70204</node><entry><content>content_2nj2te0207</content></entry></data> 2022-08-01 22:34:35 | target: http://localhost:8088 2022-08-01 22:34:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-01 22:34:35 | entity: <data><node>node_tbpmo70204</node><entry><content>content_2nj2te0207</content></entry></data> 2022-08-01 22:34:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Aug 2022 05:34:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-01 22:34:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>57441799-a227-47e1-86b1-22099c450622</value></item-id></result> 2022-08-01 22:34:35 | contains: true 2022-08-01 22:34:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-01 22:34:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-01 22:34:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-01 22:34:40 | [Mutex] waiting for: [user_regularcli3xr0203@test-domain.com:message:received:content_2nj2te0207] 2022-08-01 22:34:40 | [Mutex] waiting for: [user_regularcli3xr0203@test-domain.com:message:received:content_2nj2te0207] 2022-08-01 22:34:40 | [Mutex] received everything. 2022-08-01 22:34:40 | [Mutex] isItemNotified: user_regularcli3xr0203@test-domain.com:message:received:content_2nj2te0207 :: true 2022-08-01 22:34:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-01 22:34:40 | [Mutex] received everything. 2022-08-01 22:34:40 | [Mutex] isItemNotified: node_tbpmo70204:subscribe_node:success :: true 2022-08-01 22:34:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-01 22:34:40 | command: <data><node>node_tbpmo70204</node><expire-at>2022-08-02T05:34:45Z</expire-at><entry><content>content_d5urzr0208</content></entry></data> 2022-08-01 22:34:40 | target: http://localhost:8088 2022-08-01 22:34:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-01 22:34:40 | entity: <data><node>node_tbpmo70204</node><expire-at>2022-08-02T05:34:45Z</expire-at><entry><content>content_d5urzr0208</content></entry></data> 2022-08-01 22:34:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Aug 2022 05:34:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-01 22:34:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4336a777-1b8c-404b-b9b6-0336e3aafdab</value></item-id></result> 2022-08-01 22:34:40 | contains: true 2022-08-01 22:34:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-01 22:34:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-01 22:34:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-01 22:34:48 | [Mutex] waiting for: [user_regularcli3xr0203@test-domain.com:message:received:content_d5urzr0208] 2022-08-01 22:34:48 | [Mutex] waiting for: [user_regularcli3xr0203@test-domain.com:message:received:content_d5urzr0208] 2022-08-01 22:34:48 | [Mutex] waiting for: [user_regularcli3xr0203@test-domain.com:message:received:content_d5urzr0208] 2022-08-01 22:35:03 | [Mutex] timeout. Not received [user_regularcli3xr0203@test-domain.com:message:received:content_d5urzr0208] 2022-08-01 22:35:03 | [Mutex] received everything. 2022-08-01 22:35:03 | [Mutex] isItemNotified: user_regularcli3xr0203@test-domain.com:message:received:content_d5urzr0208 :: false 2022-08-01 22:35:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_d5urzr0208 :: true |