Test duration : 44.970s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.617s |
2022-05-01 23:20:11 |
2022-05-01 23:20:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-01 23:20:11 | ------------------------------------ 2022-05-01 23:20:11 | [Mutex] isItemNotified: node_7kqv0j0204:exists :: false 2022-05-01 23:20:11 | [Mutex] waiting for: [node_7kqv0j0204:create_node] 2022-05-01 23:20:11 | [Mutex] waiting for: [node_7kqv0j0204:create_node] 2022-05-01 23:20:11 | [Mutex] received everything. 2022-05-01 23:20:11 | [Mutex] isItemNotified: node_7kqv0j0204:create_node:success :: true 2022-05-01 23:20:11 | [Mutex] waiting for: [node_7kqv0j0204:subscribe_node] 2022-05-01 23:20:11 | [Mutex] waiting for: [node_7kqv0j0204:subscribe_node] 2022-05-01 23:20:11 | [Mutex] received everything. 2022-05-01 23:20:11 | [Mutex] isItemNotified: node_7kqv0j0204:subscribe_node:success :: true 2022-05-01 23:20:11 | ===== publishing normal message (to online) 2022-05-01 23:20:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-01 23:20:11 | command: <data><node>node_7kqv0j0204</node><entry><content>content_ajglrs0205</content></entry></data> 2022-05-01 23:20:11 | target: http://localhost:8088 2022-05-01 23:20:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-01 23:20:11 | entity: <data><node>node_7kqv0j0204</node><entry><content>content_ajglrs0205</content></entry></data> 2022-05-01 23:20:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 May 2022 06:20:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-01 23:20:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>952deb77-a2a4-4c9c-a449-f076a3fad308</value></item-id></result> 2022-05-01 23:20:11 | contains: true 2022-05-01 23:20:11 | [Mutex] received everything. 2022-05-01 23:20:11 | [Mutex] isItemNotified: user_regularvw369u0203@test-domain.com:message:received:content_ajglrs0205 :: true 2022-05-01 23:20:11 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-01 23:20:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-01 23:20:11 | command: <data><node>node_7kqv0j0204</node><expire-at>2022-05-02T06:20:06Z</expire-at><entry><content>content_8rplt40206</content></entry></data> 2022-05-01 23:20:11 | target: http://localhost:8088 2022-05-01 23:20:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-01 23:20:11 | entity: <data><node>node_7kqv0j0204</node><expire-at>2022-05-02T06:20:06Z</expire-at><entry><content>content_8rplt40206</content></entry></data> 2022-05-01 23:20:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 May 2022 06:20:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-01 23:20:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>64f27b9a-9870-47b3-8a8e-b19f73d72f09</value></item-id></result> 2022-05-01 23:20:12 | contains: true 2022-05-01 23:20:12 | [Mutex] waiting for: [user_regularvw369u0203@test-domain.com:message:received:content_8rplt40206] 2022-05-01 23:20:27 | [Mutex] timeout. Not received [user_regularvw369u0203@test-domain.com:message:received:content_8rplt40206] 2022-05-01 23:20:27 | [Mutex] isItemNotified: user_regularvw369u0203@test-domain.com:message:received:content_8rplt40206 :: false 2022-05-01 23:20:27 | ===== publishing normal message (to offline) 2022-05-01 23:20:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-01 23:20:27 | command: <data><node>node_7kqv0j0204</node><entry><content>content_ywugs30207</content></entry></data> 2022-05-01 23:20:27 | target: http://localhost:8088 2022-05-01 23:20:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-01 23:20:27 | entity: <data><node>node_7kqv0j0204</node><entry><content>content_ywugs30207</content></entry></data> 2022-05-01 23:20:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 May 2022 06:20:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-01 23:20:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>af1c19cd-d498-4081-b60b-d1f84baf57de</value></item-id></result> 2022-05-01 23:20:27 | contains: true 2022-05-01 23:20:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-01 23:20:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-01 23:20:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-01 23:20:32 | [Mutex] waiting for: [user_regularvw369u0203@test-domain.com:message:received:content_ywugs30207] 2022-05-01 23:20:32 | [Mutex] received everything. 2022-05-01 23:20:32 | [Mutex] isItemNotified: user_regularvw369u0203@test-domain.com:message:received:content_ywugs30207 :: true 2022-05-01 23:20:32 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-01 23:20:32 | [Mutex] received everything. 2022-05-01 23:20:32 | [Mutex] isItemNotified: node_7kqv0j0204:subscribe_node:success :: true 2022-05-01 23:20:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-01 23:20:32 | command: <data><node>node_7kqv0j0204</node><expire-at>2022-05-02T06:20:37Z</expire-at><entry><content>content_ecs8k40208</content></entry></data> 2022-05-01 23:20:32 | target: http://localhost:8088 2022-05-01 23:20:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-01 23:20:32 | entity: <data><node>node_7kqv0j0204</node><expire-at>2022-05-02T06:20:37Z</expire-at><entry><content>content_ecs8k40208</content></entry></data> 2022-05-01 23:20:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 May 2022 06:20:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-01 23:20:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6151672f-d8fd-418c-88dd-4c5c5a386bb5</value></item-id></result> 2022-05-01 23:20:32 | contains: true 2022-05-01 23:20:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-01 23:20:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-01 23:20:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-01 23:20:40 | [Mutex] waiting for: [user_regularvw369u0203@test-domain.com:message:received:content_ecs8k40208] 2022-05-01 23:20:55 | [Mutex] timeout. Not received [user_regularvw369u0203@test-domain.com:message:received:content_ecs8k40208] 2022-05-01 23:20:55 | [Mutex] received everything. 2022-05-01 23:20:55 | [Mutex] isItemNotified: user_regularvw369u0203@test-domain.com:message:received:content_ecs8k40208 :: false 2022-05-01 23:20:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ecs8k40208 :: true |