Test duration : 44.684s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.585s |
2022-05-17 23:15:50 |
2022-05-17 23:15:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-17 23:15:50 | ------------------------------------ 2022-05-17 23:15:50 | [Mutex] isItemNotified: node_jgohes0204:exists :: false 2022-05-17 23:15:50 | [Mutex] waiting for: [node_jgohes0204:create_node] 2022-05-17 23:15:50 | [Mutex] waiting for: [node_jgohes0204:create_node] 2022-05-17 23:15:50 | [Mutex] received everything. 2022-05-17 23:15:50 | [Mutex] isItemNotified: node_jgohes0204:create_node:success :: true 2022-05-17 23:15:50 | [Mutex] waiting for: [node_jgohes0204:subscribe_node] 2022-05-17 23:15:50 | [Mutex] waiting for: [node_jgohes0204:subscribe_node] 2022-05-17 23:15:50 | [Mutex] received everything. 2022-05-17 23:15:50 | [Mutex] isItemNotified: node_jgohes0204:subscribe_node:success :: true 2022-05-17 23:15:50 | ===== publishing normal message (to online) 2022-05-17 23:15:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-17 23:15:50 | command: <data><node>node_jgohes0204</node><entry><content>content_8h1aqn0205</content></entry></data> 2022-05-17 23:15:50 | target: http://localhost:8088 2022-05-17 23:15:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-17 23:15:50 | entity: <data><node>node_jgohes0204</node><entry><content>content_8h1aqn0205</content></entry></data> 2022-05-17 23:15:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 06:15:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-17 23:15:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e92b434d-ca31-4e75-ab88-89a88f784a8a</value></item-id></result> 2022-05-17 23:15:50 | contains: true 2022-05-17 23:15:50 | [Mutex] received everything. 2022-05-17 23:15:50 | [Mutex] isItemNotified: user_regularhtjmru0203@test-domain.com:message:received:content_8h1aqn0205 :: true 2022-05-17 23:15:50 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-17 23:15:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-17 23:15:50 | command: <data><node>node_jgohes0204</node><expire-at>2022-05-18T06:15:45Z</expire-at><entry><content>content_hminvh0206</content></entry></data> 2022-05-17 23:15:50 | target: http://localhost:8088 2022-05-17 23:15:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-17 23:15:50 | entity: <data><node>node_jgohes0204</node><expire-at>2022-05-18T06:15:45Z</expire-at><entry><content>content_hminvh0206</content></entry></data> 2022-05-17 23:15:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 06:15:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-17 23:15:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e23a621f-add3-45a6-a420-c7ed80fdf233</value></item-id></result> 2022-05-17 23:15:50 | contains: true 2022-05-17 23:15:50 | [Mutex] waiting for: [user_regularhtjmru0203@test-domain.com:message:received:content_hminvh0206] 2022-05-17 23:16:05 | [Mutex] timeout. Not received [user_regularhtjmru0203@test-domain.com:message:received:content_hminvh0206] 2022-05-17 23:16:05 | [Mutex] isItemNotified: user_regularhtjmru0203@test-domain.com:message:received:content_hminvh0206 :: false 2022-05-17 23:16:05 | ===== publishing normal message (to offline) 2022-05-17 23:16:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-17 23:16:05 | command: <data><node>node_jgohes0204</node><entry><content>content_b8xyib0207</content></entry></data> 2022-05-17 23:16:05 | target: http://localhost:8088 2022-05-17 23:16:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-17 23:16:05 | entity: <data><node>node_jgohes0204</node><entry><content>content_b8xyib0207</content></entry></data> 2022-05-17 23:16:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 06:16:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-17 23:16:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a9e83468-c552-49a4-aa11-9f5222db8735</value></item-id></result> 2022-05-17 23:16:05 | contains: true 2022-05-17 23:16:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-17 23:16:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-17 23:16:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-17 23:16:11 | [Mutex] waiting for: [user_regularhtjmru0203@test-domain.com:message:received:content_b8xyib0207] 2022-05-17 23:16:11 | [Mutex] waiting for: [user_regularhtjmru0203@test-domain.com:message:received:content_b8xyib0207] 2022-05-17 23:16:11 | [Mutex] received everything. 2022-05-17 23:16:11 | [Mutex] isItemNotified: user_regularhtjmru0203@test-domain.com:message:received:content_b8xyib0207 :: true 2022-05-17 23:16:11 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-17 23:16:11 | [Mutex] received everything. 2022-05-17 23:16:11 | [Mutex] isItemNotified: node_jgohes0204:subscribe_node:success :: true 2022-05-17 23:16:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-17 23:16:11 | command: <data><node>node_jgohes0204</node><expire-at>2022-05-18T06:16:16Z</expire-at><entry><content>content_ully7p0208</content></entry></data> 2022-05-17 23:16:11 | target: http://localhost:8088 2022-05-17 23:16:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-17 23:16:11 | entity: <data><node>node_jgohes0204</node><expire-at>2022-05-18T06:16:16Z</expire-at><entry><content>content_ully7p0208</content></entry></data> 2022-05-17 23:16:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 06:16:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-17 23:16:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ff9dd0a0-6be6-4e4b-b986-b473ed47ee3c</value></item-id></result> 2022-05-17 23:16:11 | contains: true 2022-05-17 23:16:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-17 23:16:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-17 23:16:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-17 23:16:19 | [Mutex] waiting for: [user_regularhtjmru0203@test-domain.com:message:received:content_ully7p0208] 2022-05-17 23:16:34 | [Mutex] timeout. Not received [user_regularhtjmru0203@test-domain.com:message:received:content_ully7p0208] 2022-05-17 23:16:34 | [Mutex] received everything. 2022-05-17 23:16:34 | [Mutex] isItemNotified: user_regularhtjmru0203@test-domain.com:message:received:content_ully7p0208 :: false 2022-05-17 23:16:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ully7p0208 :: true |