Test duration : 44.594s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.619s |
2022-08-31 23:02:14 |
2022-08-31 23:02:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-31 23:02:14 | ------------------------------------ 2022-08-31 23:02:14 | [Mutex] isItemNotified: node_hiyk3j0204:exists :: false 2022-08-31 23:02:14 | [Mutex] waiting for: [node_hiyk3j0204:create_node] 2022-08-31 23:02:14 | [Mutex] received everything. 2022-08-31 23:02:14 | [Mutex] isItemNotified: node_hiyk3j0204:create_node:success :: true 2022-08-31 23:02:14 | [Mutex] waiting for: [node_hiyk3j0204:subscribe_node] 2022-08-31 23:02:14 | [Mutex] waiting for: [node_hiyk3j0204:subscribe_node] 2022-08-31 23:02:14 | [Mutex] received everything. 2022-08-31 23:02:14 | [Mutex] isItemNotified: node_hiyk3j0204:subscribe_node:success :: true 2022-08-31 23:02:14 | ===== publishing normal message (to online) 2022-08-31 23:02:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-31 23:02:14 | command: <data><node>node_hiyk3j0204</node><entry><content>content_uy4nl60205</content></entry></data> 2022-08-31 23:02:14 | target: http://localhost:8088 2022-08-31 23:02:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-31 23:02:14 | entity: <data><node>node_hiyk3j0204</node><entry><content>content_uy4nl60205</content></entry></data> 2022-08-31 23:02:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Sep 2022 06:02:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-31 23:02:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3f506310-1b37-4953-934d-f408f60f45c0</value></item-id></result> 2022-08-31 23:02:14 | contains: true 2022-08-31 23:02:14 | [Mutex] received everything. 2022-08-31 23:02:14 | [Mutex] isItemNotified: user_regularwfv9aj0203@test-domain.com:message:received:content_uy4nl60205 :: true 2022-08-31 23:02:14 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-31 23:02:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-31 23:02:14 | command: <data><node>node_hiyk3j0204</node><expire-at>2022-09-01T06:02:09Z</expire-at><entry><content>content_8kaw590206</content></entry></data> 2022-08-31 23:02:14 | target: http://localhost:8088 2022-08-31 23:02:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-31 23:02:14 | entity: <data><node>node_hiyk3j0204</node><expire-at>2022-09-01T06:02:09Z</expire-at><entry><content>content_8kaw590206</content></entry></data> 2022-08-31 23:02:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Sep 2022 06:02:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-31 23:02:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>410a25e1-d59f-4f8c-91b5-319480a1d400</value></item-id></result> 2022-08-31 23:02:14 | contains: true 2022-08-31 23:02:14 | [Mutex] waiting for: [user_regularwfv9aj0203@test-domain.com:message:received:content_8kaw590206] 2022-08-31 23:02:29 | [Mutex] timeout. Not received [user_regularwfv9aj0203@test-domain.com:message:received:content_8kaw590206] 2022-08-31 23:02:29 | [Mutex] isItemNotified: user_regularwfv9aj0203@test-domain.com:message:received:content_8kaw590206 :: false 2022-08-31 23:02:29 | ===== publishing normal message (to offline) 2022-08-31 23:02:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-31 23:02:29 | command: <data><node>node_hiyk3j0204</node><entry><content>content_24p0sa0207</content></entry></data> 2022-08-31 23:02:29 | target: http://localhost:8088 2022-08-31 23:02:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-31 23:02:29 | entity: <data><node>node_hiyk3j0204</node><entry><content>content_24p0sa0207</content></entry></data> 2022-08-31 23:02:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Sep 2022 06:02:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-31 23:02:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>db51a3d2-8a9d-442b-8ce6-aeee465f7e80</value></item-id></result> 2022-08-31 23:02:29 | contains: true 2022-08-31 23:02:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-31 23:02:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-31 23:02:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-31 23:02:34 | [Mutex] waiting for: [user_regularwfv9aj0203@test-domain.com:message:received:content_24p0sa0207] 2022-08-31 23:02:34 | [Mutex] received everything. 2022-08-31 23:02:34 | [Mutex] isItemNotified: user_regularwfv9aj0203@test-domain.com:message:received:content_24p0sa0207 :: true 2022-08-31 23:02:34 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-31 23:02:34 | [Mutex] received everything. 2022-08-31 23:02:34 | [Mutex] isItemNotified: node_hiyk3j0204:subscribe_node:success :: true 2022-08-31 23:02:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-31 23:02:34 | command: <data><node>node_hiyk3j0204</node><expire-at>2022-09-01T06:02:39Z</expire-at><entry><content>content_1flbc40208</content></entry></data> 2022-08-31 23:02:34 | target: http://localhost:8088 2022-08-31 23:02:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-31 23:02:34 | entity: <data><node>node_hiyk3j0204</node><expire-at>2022-09-01T06:02:39Z</expire-at><entry><content>content_1flbc40208</content></entry></data> 2022-08-31 23:02:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Sep 2022 06:02:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-31 23:02:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>87d69869-43a8-4139-a0f3-ff6d1c10ef08</value></item-id></result> 2022-08-31 23:02:34 | contains: true 2022-08-31 23:02:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-31 23:02:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-31 23:02:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-31 23:02:42 | [Mutex] waiting for: [user_regularwfv9aj0203@test-domain.com:message:received:content_1flbc40208] 2022-08-31 23:02:57 | [Mutex] timeout. Not received [user_regularwfv9aj0203@test-domain.com:message:received:content_1flbc40208] 2022-08-31 23:02:57 | [Mutex] received everything. 2022-08-31 23:02:57 | [Mutex] isItemNotified: user_regularwfv9aj0203@test-domain.com:message:received:content_1flbc40208 :: false 2022-08-31 23:02:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1flbc40208 :: true |