Test duration : 45.165s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.619s |
2022-07-19 23:05:54 |
2022-07-19 23:05:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-19 23:05:54 | ------------------------------------ 2022-07-19 23:05:54 | [Mutex] isItemNotified: node_5p5c030204:exists :: false 2022-07-19 23:05:54 | [Mutex] waiting for: [node_5p5c030204:create_node] 2022-07-19 23:05:54 | [Mutex] received everything. 2022-07-19 23:05:54 | [Mutex] isItemNotified: node_5p5c030204:create_node:success :: true 2022-07-19 23:05:54 | [Mutex] waiting for: [node_5p5c030204:subscribe_node] 2022-07-19 23:05:54 | [Mutex] received everything. 2022-07-19 23:05:54 | [Mutex] isItemNotified: node_5p5c030204:subscribe_node:success :: true 2022-07-19 23:05:54 | ===== publishing normal message (to online) 2022-07-19 23:05:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-19 23:05:54 | command: <data><node>node_5p5c030204</node><entry><content>content_mpwjzm0205</content></entry></data> 2022-07-19 23:05:54 | target: http://localhost:8088 2022-07-19 23:05:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-19 23:05:54 | entity: <data><node>node_5p5c030204</node><entry><content>content_mpwjzm0205</content></entry></data> 2022-07-19 23:05:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 06:05:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-19 23:05:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1a1936df-bbf0-44b3-ac37-373e545676f7</value></item-id></result> 2022-07-19 23:05:54 | contains: true 2022-07-19 23:05:54 | [Mutex] received everything. 2022-07-19 23:05:54 | [Mutex] isItemNotified: user_regularak5ecf0203@test-domain.com:message:received:content_mpwjzm0205 :: true 2022-07-19 23:05:54 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-19 23:05:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-19 23:05:54 | command: <data><node>node_5p5c030204</node><expire-at>2022-07-20T06:05:49Z</expire-at><entry><content>content_1m3ndy0206</content></entry></data> 2022-07-19 23:05:54 | target: http://localhost:8088 2022-07-19 23:05:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-19 23:05:54 | entity: <data><node>node_5p5c030204</node><expire-at>2022-07-20T06:05:49Z</expire-at><entry><content>content_1m3ndy0206</content></entry></data> 2022-07-19 23:05:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 06:05:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-19 23:05:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>387ef06c-4d7f-4028-a240-9d21f03f7f0f</value></item-id></result> 2022-07-19 23:05:54 | contains: true 2022-07-19 23:05:54 | [Mutex] waiting for: [user_regularak5ecf0203@test-domain.com:message:received:content_1m3ndy0206] 2022-07-19 23:06:09 | [Mutex] timeout. Not received [user_regularak5ecf0203@test-domain.com:message:received:content_1m3ndy0206] 2022-07-19 23:06:09 | [Mutex] isItemNotified: user_regularak5ecf0203@test-domain.com:message:received:content_1m3ndy0206 :: false 2022-07-19 23:06:09 | ===== publishing normal message (to offline) 2022-07-19 23:06:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-19 23:06:09 | command: <data><node>node_5p5c030204</node><entry><content>content_ukv4d30207</content></entry></data> 2022-07-19 23:06:09 | target: http://localhost:8088 2022-07-19 23:06:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-19 23:06:09 | entity: <data><node>node_5p5c030204</node><entry><content>content_ukv4d30207</content></entry></data> 2022-07-19 23:06:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 06:06:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-19 23:06:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c050fad7-234b-4b52-b277-51b017b01fc6</value></item-id></result> 2022-07-19 23:06:09 | contains: true 2022-07-19 23:06:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-19 23:06:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-19 23:06:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-19 23:06:14 | [Mutex] waiting for: [user_regularak5ecf0203@test-domain.com:message:received:content_ukv4d30207] 2022-07-19 23:06:14 | [Mutex] received everything. 2022-07-19 23:06:14 | [Mutex] isItemNotified: user_regularak5ecf0203@test-domain.com:message:received:content_ukv4d30207 :: true 2022-07-19 23:06:14 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-19 23:06:14 | [Mutex] received everything. 2022-07-19 23:06:14 | [Mutex] isItemNotified: node_5p5c030204:subscribe_node:success :: true 2022-07-19 23:06:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-19 23:06:14 | command: <data><node>node_5p5c030204</node><expire-at>2022-07-20T06:06:19Z</expire-at><entry><content>content_pvn5x80208</content></entry></data> 2022-07-19 23:06:14 | target: http://localhost:8088 2022-07-19 23:06:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-19 23:06:14 | entity: <data><node>node_5p5c030204</node><expire-at>2022-07-20T06:06:19Z</expire-at><entry><content>content_pvn5x80208</content></entry></data> 2022-07-19 23:06:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 06:06:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-19 23:06:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d8873cb7-df9a-4252-8d3d-2f126079f5d5</value></item-id></result> 2022-07-19 23:06:14 | contains: true 2022-07-19 23:06:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-19 23:06:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-19 23:06:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-19 23:06:22 | [Mutex] waiting for: [user_regularak5ecf0203@test-domain.com:message:received:content_pvn5x80208] 2022-07-19 23:06:22 | [Mutex] waiting for: [user_regularak5ecf0203@test-domain.com:message:received:content_pvn5x80208] 2022-07-19 23:06:22 | [Mutex] waiting for: [user_regularak5ecf0203@test-domain.com:message:received:content_pvn5x80208] 2022-07-19 23:06:37 | [Mutex] timeout. Not received [user_regularak5ecf0203@test-domain.com:message:received:content_pvn5x80208] 2022-07-19 23:06:37 | [Mutex] received everything. 2022-07-19 23:06:37 | [Mutex] isItemNotified: user_regularak5ecf0203@test-domain.com:message:received:content_pvn5x80208 :: false 2022-07-19 23:06:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pvn5x80208 :: true |