Test duration : 44.937s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.681s |
2022-06-23 23:04:59 |
2022-06-23 23:04:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-23 23:04:59 | ------------------------------------ 2022-06-23 23:04:59 | [Mutex] isItemNotified: node_iws6pf0204:exists :: false 2022-06-23 23:04:59 | [Mutex] waiting for: [node_iws6pf0204:create_node] 2022-06-23 23:04:59 | [Mutex] received everything. 2022-06-23 23:04:59 | [Mutex] isItemNotified: node_iws6pf0204:create_node:success :: true 2022-06-23 23:04:59 | [Mutex] waiting for: [node_iws6pf0204:subscribe_node] 2022-06-23 23:04:59 | [Mutex] received everything. 2022-06-23 23:04:59 | [Mutex] isItemNotified: node_iws6pf0204:subscribe_node:success :: true 2022-06-23 23:04:59 | ===== publishing normal message (to online) 2022-06-23 23:04:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-23 23:04:59 | command: <data><node>node_iws6pf0204</node><entry><content>content_kr41550205</content></entry></data> 2022-06-23 23:04:59 | target: http://localhost:8088 2022-06-23 23:04:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-23 23:04:59 | entity: <data><node>node_iws6pf0204</node><entry><content>content_kr41550205</content></entry></data> 2022-06-23 23:04:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Jun 2022 06:04:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-23 23:04:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5fe69809-ab77-4da6-8717-8b503e34fbf0</value></item-id></result> 2022-06-23 23:04:59 | contains: true 2022-06-23 23:04:59 | [Mutex] waiting for: [user_regularjgfaym0203@test-domain.com:message:received:content_kr41550205] 2022-06-23 23:04:59 | [Mutex] received everything. 2022-06-23 23:04:59 | [Mutex] isItemNotified: user_regularjgfaym0203@test-domain.com:message:received:content_kr41550205 :: true 2022-06-23 23:04:59 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-23 23:04:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-23 23:04:59 | command: <data><node>node_iws6pf0204</node><expire-at>2022-06-24T06:04:54Z</expire-at><entry><content>content_8drzzf0206</content></entry></data> 2022-06-23 23:04:59 | target: http://localhost:8088 2022-06-23 23:04:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-23 23:04:59 | entity: <data><node>node_iws6pf0204</node><expire-at>2022-06-24T06:04:54Z</expire-at><entry><content>content_8drzzf0206</content></entry></data> 2022-06-23 23:04:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Jun 2022 06:04:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-23 23:04:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9043a8c7-a093-4ba3-9dba-1ed1775fa3ef</value></item-id></result> 2022-06-23 23:04:59 | contains: true 2022-06-23 23:04:59 | [Mutex] waiting for: [user_regularjgfaym0203@test-domain.com:message:received:content_8drzzf0206] 2022-06-23 23:05:14 | [Mutex] timeout. Not received [user_regularjgfaym0203@test-domain.com:message:received:content_8drzzf0206] 2022-06-23 23:05:14 | [Mutex] isItemNotified: user_regularjgfaym0203@test-domain.com:message:received:content_8drzzf0206 :: false 2022-06-23 23:05:14 | ===== publishing normal message (to offline) 2022-06-23 23:05:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-23 23:05:14 | command: <data><node>node_iws6pf0204</node><entry><content>content_5tb1ac0207</content></entry></data> 2022-06-23 23:05:14 | target: http://localhost:8088 2022-06-23 23:05:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-23 23:05:14 | entity: <data><node>node_iws6pf0204</node><entry><content>content_5tb1ac0207</content></entry></data> 2022-06-23 23:05:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Jun 2022 06:05:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-23 23:05:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b4913a56-0905-4b29-a421-aeb805771c38</value></item-id></result> 2022-06-23 23:05:14 | contains: true 2022-06-23 23:05:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-23 23:05:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-23 23:05:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-23 23:05:20 | [Mutex] waiting for: [user_regularjgfaym0203@test-domain.com:message:received:content_5tb1ac0207] 2022-06-23 23:05:20 | [Mutex] waiting for: [user_regularjgfaym0203@test-domain.com:message:received:content_5tb1ac0207] 2022-06-23 23:05:20 | [Mutex] received everything. 2022-06-23 23:05:20 | [Mutex] isItemNotified: user_regularjgfaym0203@test-domain.com:message:received:content_5tb1ac0207 :: true 2022-06-23 23:05:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-23 23:05:20 | [Mutex] received everything. 2022-06-23 23:05:20 | [Mutex] isItemNotified: node_iws6pf0204:subscribe_node:success :: true 2022-06-23 23:05:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-23 23:05:20 | command: <data><node>node_iws6pf0204</node><expire-at>2022-06-24T06:05:25Z</expire-at><entry><content>content_x53dg40208</content></entry></data> 2022-06-23 23:05:20 | target: http://localhost:8088 2022-06-23 23:05:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-23 23:05:20 | entity: <data><node>node_iws6pf0204</node><expire-at>2022-06-24T06:05:25Z</expire-at><entry><content>content_x53dg40208</content></entry></data> 2022-06-23 23:05:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Jun 2022 06:05:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-23 23:05:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c6b480a7-cb0f-4136-be7e-fb4d72613a13</value></item-id></result> 2022-06-23 23:05:20 | contains: true 2022-06-23 23:05:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-23 23:05:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-23 23:05:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-23 23:05:28 | [Mutex] waiting for: [user_regularjgfaym0203@test-domain.com:message:received:content_x53dg40208] 2022-06-23 23:05:28 | [Mutex] waiting for: [user_regularjgfaym0203@test-domain.com:message:received:content_x53dg40208] 2022-06-23 23:05:43 | [Mutex] timeout. Not received [user_regularjgfaym0203@test-domain.com:message:received:content_x53dg40208] 2022-06-23 23:05:43 | [Mutex] received everything. 2022-06-23 23:05:43 | [Mutex] isItemNotified: user_regularjgfaym0203@test-domain.com:message:received:content_x53dg40208 :: false 2022-06-23 23:05:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_x53dg40208 :: true |