Test duration : 44.952s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.686s |
2022-07-08 22:45:14 |
2022-07-08 22:45:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-08 22:45:14 | ------------------------------------ 2022-07-08 22:45:14 | [Mutex] isItemNotified: node_e0lce90204:exists :: false 2022-07-08 22:45:14 | [Mutex] waiting for: [node_e0lce90204:create_node] 2022-07-08 22:45:14 | [Mutex] received everything. 2022-07-08 22:45:14 | [Mutex] isItemNotified: node_e0lce90204:create_node:success :: true 2022-07-08 22:45:14 | [Mutex] waiting for: [node_e0lce90204:subscribe_node] 2022-07-08 22:45:14 | [Mutex] waiting for: [node_e0lce90204:subscribe_node] 2022-07-08 22:45:14 | [Mutex] received everything. 2022-07-08 22:45:14 | [Mutex] isItemNotified: node_e0lce90204:subscribe_node:success :: true 2022-07-08 22:45:14 | ===== publishing normal message (to online) 2022-07-08 22:45:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-08 22:45:14 | command: <data><node>node_e0lce90204</node><entry><content>content_w985nl0205</content></entry></data> 2022-07-08 22:45:14 | target: http://localhost:8088 2022-07-08 22:45:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-08 22:45:14 | entity: <data><node>node_e0lce90204</node><entry><content>content_w985nl0205</content></entry></data> 2022-07-08 22:45:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 05:45:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-08 22:45:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c465e239-9423-4b69-865c-9493e132fd97</value></item-id></result> 2022-07-08 22:45:14 | contains: true 2022-07-08 22:45:14 | [Mutex] received everything. 2022-07-08 22:45:14 | [Mutex] isItemNotified: user_regular4uifan0203@test-domain.com:message:received:content_w985nl0205 :: true 2022-07-08 22:45:14 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-08 22:45:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-08 22:45:14 | command: <data><node>node_e0lce90204</node><expire-at>2022-07-09T05:45:09Z</expire-at><entry><content>content_moh7q40206</content></entry></data> 2022-07-08 22:45:14 | target: http://localhost:8088 2022-07-08 22:45:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-08 22:45:14 | entity: <data><node>node_e0lce90204</node><expire-at>2022-07-09T05:45:09Z</expire-at><entry><content>content_moh7q40206</content></entry></data> 2022-07-08 22:45:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 05:45:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-08 22:45:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dd125d03-6d7b-4075-8811-a0123718c2ed</value></item-id></result> 2022-07-08 22:45:14 | contains: true 2022-07-08 22:45:14 | [Mutex] waiting for: [user_regular4uifan0203@test-domain.com:message:received:content_moh7q40206] 2022-07-08 22:45:29 | [Mutex] timeout. Not received [user_regular4uifan0203@test-domain.com:message:received:content_moh7q40206] 2022-07-08 22:45:29 | [Mutex] isItemNotified: user_regular4uifan0203@test-domain.com:message:received:content_moh7q40206 :: false 2022-07-08 22:45:29 | ===== publishing normal message (to offline) 2022-07-08 22:45:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-08 22:45:29 | command: <data><node>node_e0lce90204</node><entry><content>content_mvqvd0207</content></entry></data> 2022-07-08 22:45:29 | target: http://localhost:8088 2022-07-08 22:45:29 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-07-08 22:45:29 | entity: <data><node>node_e0lce90204</node><entry><content>content_mvqvd0207</content></entry></data> 2022-07-08 22:45:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 05:45:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-08 22:45:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>848f7334-9f7c-4dc9-8515-caa7d7c0d418</value></item-id></result> 2022-07-08 22:45:29 | contains: true 2022-07-08 22:45:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-08 22:45:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-08 22:45:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-08 22:45:35 | [Mutex] waiting for: [user_regular4uifan0203@test-domain.com:message:received:content_mvqvd0207] 2022-07-08 22:45:35 | [Mutex] waiting for: [user_regular4uifan0203@test-domain.com:message:received:content_mvqvd0207] 2022-07-08 22:45:35 | [Mutex] received everything. 2022-07-08 22:45:35 | [Mutex] isItemNotified: user_regular4uifan0203@test-domain.com:message:received:content_mvqvd0207 :: true 2022-07-08 22:45:35 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-08 22:45:35 | [Mutex] received everything. 2022-07-08 22:45:35 | [Mutex] isItemNotified: node_e0lce90204:subscribe_node:success :: true 2022-07-08 22:45:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-08 22:45:35 | command: <data><node>node_e0lce90204</node><expire-at>2022-07-09T05:45:40Z</expire-at><entry><content>content_e1iynp0208</content></entry></data> 2022-07-08 22:45:35 | target: http://localhost:8088 2022-07-08 22:45:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-08 22:45:35 | entity: <data><node>node_e0lce90204</node><expire-at>2022-07-09T05:45:40Z</expire-at><entry><content>content_e1iynp0208</content></entry></data> 2022-07-08 22:45:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 05:45:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-08 22:45:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a8c4ffd1-6f0d-4c83-a6dc-22441f5fcf41</value></item-id></result> 2022-07-08 22:45:35 | contains: true 2022-07-08 22:45:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-08 22:45:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-08 22:45:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-08 22:45:43 | [Mutex] waiting for: [user_regular4uifan0203@test-domain.com:message:received:content_e1iynp0208] 2022-07-08 22:45:43 | [Mutex] waiting for: [user_regular4uifan0203@test-domain.com:message:received:content_e1iynp0208] 2022-07-08 22:45:58 | [Mutex] timeout. Not received [user_regular4uifan0203@test-domain.com:message:received:content_e1iynp0208] 2022-07-08 22:45:58 | [Mutex] received everything. 2022-07-08 22:45:58 | [Mutex] isItemNotified: user_regular4uifan0203@test-domain.com:message:received:content_e1iynp0208 :: false 2022-07-08 22:45:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_e1iynp0208 :: true |