Nobilta opened a new issue, #9996:
URL: https://github.com/apache/apisix/issues/9996

   ### Current Behavior
   
   when i use traffic-split on a route,if i use a not exist upstream id,it will 
not verify this upstream id is valid.
   `{
       "uri": "/index.html",
       "plugins": {
           "traffic-split": {
               "rules": [
                   {
                       "weighted_upstreams": [
                           {
                               "upstream_id": "abcdefg",//this upstreamid is 
not exist,but this request will success
                               "weight": 1
                           },
                           {
                               "weight": 1
                           }
                       ]
                   }
               ]
           }
       },
       "upstream_id": "abcdefg",//this upstreamid is not exist,but this request 
will failed
   }` 
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   set traffic-split plugin on route,and set a not exist upstreamid
   
   ### Environment
   
   - APISIX version (run `apisix version`):3.3
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to